Deploying Hugo With Github Actions

I figured out how to deploy Hugo with Github Actions, and I figured, well I can’t keep this to myself.

Here’s the Github action template:

And here’s the script that’s referenced in the action template:

With this action in place, you can pretty easily set up a Markdown site that compiles to static HTML with every git push!

Matt Damon delivering the famous how do you like them apples comeback