Automate Hugo builds with GitHub Actions

The sources of this blog are tracked in a git repository hosted on GitHub. The editable content is kept in the default branch main, while the static pages built by Hugo are stored in the gh-pages branch. The GitHub Pages hosting service is configured to use the content of gh-pages as a source. The process to build and publish a website with Hugo, explained in a previous blog post, requires several manual steps.
Read full post