Overview

Forward

In August 2019, I relaunched my personal website using a static site generator called Hugo. During that time I put together a staging site hosted on github.io. When putting together this staging site, I loosely followed the documentation on Hugo’s website. My implementation is different in that the HTML code rendered by Hugo is pushed to a separate gh-pages branch rather than in the master branch of the source code. I have documented my process here.

Create a Hugo Site

The first step is to set up a Hugo Site locally.

Hosting the site on GitHub

Once your Hugo site is running locally, publish it on GitHub.com.

Automate the process with Wercker

Set up a Wercker pipeline to automate builds to your gh-pages branch.