Building and Deploying Hugo Apps using GitHub Actions to Cloudflare Pages

It’s been a while since I did anything with this site, but today I have modified the way it deploys. It used to deploy directly using Cloudflare Pages and Cloudflare did the building of the Hugo site and then deployed the result. Today, I swapped it to use GitHub Actions. This allows me to do other fun stuff after the build is finished. For example, I can run tools like Jampack to compress the site and images before deploying to CLoudflare Pages. I could also run something like Markdownlint before building the Hugo site, but that’s a future job…

The Workflow for the site is up on Github. I will be making tweaks to this over time.