Automating Deployment of a Hugo Site to GitHub Pages with GitHub Actions
May 26, 2021
GitHub, GitHub, What? Well, I’m not affiliated, by the way ;P GitHub pages is a service freely available for all GH users to host static sites from their repositories. GH actions (also free, as in free lemonade) lets users automate software workflows (think CI/CD). What we’ll be doing is automating the deployment of a Hugo site in a GH repository to GH pages.
Setting up the source Once we have a Hugo site set up1, we’ll need to push this to a repo in GH.…