Closed jerrycode06 closed 3 years ago
These are the public
folder files, Should I also include the whole project files in this PR without the themes
folder?
@pnijhara
Exactly!
The whole point is to push the whole project along with the public
folder. And target the public
folder for GitHub pages to build.
@prateekj117 can you confirm this?
You can use a GitHub action to build the site for each commit (on master) and push the built site to the gh-pages branch — which can then be deployed using GitHub Actions.
Something like https://github.com/rj722/red
@RJ722's point is also valid. We can push the Hugo project in the master
branch and the public
folder in the gh-pages
branch.
You can use a GitHub action to build the site for each commit (on master) and push the built site to the gh-pages branch — which can then be deployed using GitHub Actions.
Something like https://github.com/rj722/red
This one also looks good.
Modified site with version 2 theme of Hugo Grayscale.