Github

Automating the Blog... again

Unsurprisingly, less painful

Github actions are wonderful, love the integration, and you can find pretty much everything you need on the marketplace.

The workflow is almost the same:

  1. Checkout
  2. Get Hugo
  3. Build with Hugo
  4. Rsync

you can check out the yaml here

Differences

I don’t need to keep a Hugo executable in the repo, there is an Action that gets the latest version for me.

I can keep the ssh key in a repository secret instead of the janky encrypted file that I used before, there probably was a way with Travis, but nothing quite as simple