arinwongprommoon / arinwongprommoon.github.io_src

MIT License
0 stars 0 forks source link

Make it actually possible to build and deploy #1

Closed arinwongprommoon closed 1 year ago

arinwongprommoon commented 1 year ago

Following https://wowchemy.com/docs/hugo-tutorials/deployment/#github-pages doesn't seem to work. I want hugo to be run automatically by github every time I commit, rather than running hugo server locally and then pushing the /public directory. CI/CD exists for a reason.

These might work: https://www.jameswright.xyz/post/20200409/deploy_wowchemy_to_githubio/ https://mickaellalande.github.io/post/tutorial/how-to-create-an-academic-github-page-with-hugo/

arinwongprommoon commented 1 year ago

First one worked. Essentially, I needed to write a CI to get Hugo to build the website and dump the output into a different repository. The key is having two repositories: arinwongprommoon.github.io_src for the source (markdown, etc.) and arinwongprommoon.github.io for the output (HTML, etc.). Closing issue.