amu-oss / amu-oss.github.io

AMU OSS Website
https://amu-oss.github.io/
MIT License
0 stars 1 forks source link

Version 2 #3

Closed jerrycode06 closed 3 years ago

jerrycode06 commented 3 years ago

Modified site with version 2 theme of Hugo Grayscale.

jerrycode06 commented 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

pnijhara commented 3 years ago

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?

RJ722 commented 3 years ago

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

pnijhara commented 3 years ago

@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.

jerrycode06 commented 3 years ago

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.