You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/05/24 15:57:28 UTC

[GitHub] [incubator-apisix-dashboard] juzhiyuan opened a new issue #213: GitHub Actions for Website

juzhiyuan opened a new issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213#issuecomment-633386805


   > Apache APISIX has a website[1][2], which is built on Hugo[3].
   > 
   > We used to update this site by following steps:
   > 
   > 1. Update codes in the repository[1];
   > 2. Run custom publish shell `publish.sh` locally, and once it's done, it will push built files to the `gh-pages` branch.
   > 
   > So this issue is mainly to use GitHub Action to run publish shell instead of running locally. Because this is not a GSoC task or isrc task, so I'm not sure of its feasibility. If you need any help, please let me know by commenting here or add my wechat JuShaoyao.
   > 
   > [1] https://github.com/apache/incubator-apisix-website
   > [2] https://apisix.apache.org/
   > [3] https://gohugo.io/
   
   > Note that PR preview has to be done with CI like render or netlify. 
   
   emmm We don't need a preview for every PR currently, just pushed the bundled files to `gh-pages` branch.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213#issuecomment-633385783


   🤔We can use Netlify, but I need to apply for access from Apache, once it's approved, I will let you know!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] Rapiz1 commented on issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
Rapiz1 commented on issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213#issuecomment-633343688


   PR Preview is done on my fork. See https://github.com/Rapiz1/incubator-apisix-website/pull/1


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213#issuecomment-633339414


   I will explain what this issue should do here later.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] Rapiz1 edited a comment on issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
Rapiz1 edited a comment on issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213#issuecomment-633343688


   PR Preview is done on my fork. See https://github.com/Rapiz1/incubator-apisix-website/pull/1
   Note that PR preview has to be done with CI like [render](https://render.com/) or [netlify](https://www.netlify.com/). GitHub Actions can't do that.
   However, auto-deploy for commits on master is possible using GitHub Actions. I have seen something similar.
   And I think it's fine to mix GitHub Actions and render/netlify up.
   
   If this issue is only intended to set up pr preview, then I will write short instructions about how to set up render for pr preview. I don't have access to the [website repo](https://github.com/apache/incubator-apisix-website) so I can't set up CI for it.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] Rapiz1 commented on issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
Rapiz1 commented on issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213#issuecomment-633334387


   Hi @juzhiyuan Can I take this?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan closed issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213#issuecomment-633340841


   Apache APISIX has a website[1][2], which is built on Hugo[3]. 
   
   We used to update this site by following steps:
   1. Update codes in the repository[1];
   2. Run custom publish shell `publish.sh` locally, and once it's done, it will push built files to the `gh-pages` branch.
   
   So this issue is mainly to use GitHub Action to run publish shell instead of running locally. Because this is not a GSoC task or isrc task, so I'm not sure of its feasibility. If you need any help, please let me know by commenting here or add my wechat JuShaoyao.
   
   [1] https://github.com/apache/incubator-apisix-website
   [2] https://apisix.apache.org/
   [3] https://gohugo.io/


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] Rapiz1 commented on issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
Rapiz1 commented on issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213#issuecomment-633341393


   > Apache APISIX has a website[1][2], which is built on Hugo[3].
   > 
   > We used to update this site by following steps:
   > 
   >     1. Update codes in the repository[1];
   > 
   >     2. Run custom publish shell `publish.sh` locally, and once it's done, it will push built files to the `gh-pages` branch.
   > 
   > 
   > So this issue is mainly to use GitHub Action to run publish shell instead of running locally. Because this is not a GSoC task or isrc task, so I'm not sure of its feasibility. If you need any help, please let me know by commenting here or add my wechat JuShaoyao.
   > 
   > [1] https://github.com/apache/incubator-apisix-website
   > [2] https://apisix.apache.org/
   > [3] https://gohugo.io/
   
   Thanks for your informative feedback! I managed to set up hugo build on my fork and am now trying to connect to [render](https://render.com/) to set up a PR preview.
   
   >     2. Run custom publish shell `publish.sh` locally, and once it's done, it will push built files to the `gh-pages` branch.
   
   So this task consists of two parts.
   1. PR Preview
   2. Auto deploy for commits on master
   
   Right?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213#issuecomment-633339192


   Please note, this issue is for apisix website[1], not dashboard.
   
   [1] https://github.com/apache/incubator-apisix-website
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213#issuecomment-633339064


   Sure


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] Rapiz1 commented on issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
Rapiz1 commented on issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213#issuecomment-633339380


   > Please note, this issue is for apisix website[1], not dashboard.
   > 
   > [1] https://github.com/apache/incubator-apisix-website
   
   Yeah. I have noticed that.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix-dashboard] juzhiyuan edited a comment on issue #213: GitHub Actions for Website

Posted by GitBox <gi...@apache.org>.
juzhiyuan edited a comment on issue #213:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/213#issuecomment-633385783


   ~~🤔We can use Netlify, but I need to apply for access from Apache, once it's approved, I will let you know!~~


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org