This blog is powered by Hugo. It is so easy to use! Hugo blogs can be easily deployed to GitHub by following this tutorial.
The only 2 things I had problem with were:
When first deployed, my GitHub page kept 404 although all html files are update in the my
.github.io repo. To solve this, go to “settings” in the repo, scroll down to “GitHub Pages”, make sure the correct branch is chosen in the source. Also choose a Jekyll theme even we are not using Jekyll. I followed the doc and created a submodule, and in no time it’s all messed up. Git submodule is a mystery not worth solving. So I cloned the
.github.io repo outside of my source repo, and copy the files in public into it. My modified script is here.
I probably should setup CD but meh.