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.

---

My name is Tiernan OToole, and I run my own ASN, AS204994. More details about that over there. I also use Vultr for transit services and HostUs for LIR Services. Check them out. You can also check some of the gear I use on a daily basis over on kit.co/tiernano. If you find this stuff useful, you could also Buy me a coffee! Thanks!