Install
- Install Hugo e.g.
brew install hugo
git clone https://github.com/eugenesiow/eugenesiow.com.git
cd eugenesiow.com
- Create a
public
folder with thegh-pages
branch withgit worktree add -B gh-pages public origin/gh-pages
- Build the static
public
folder with Hugo and commit thegh-pages
branch with./commit-gh-pages-files.sh
- Push the
gh-pages
branch to github with./push-upstream.sh