To simplify and improve the process of building this website, I had to make a few changes. My previous build and delivery process (written about on this site) was based on GitLab CI/CD using a Custom Docker Image and creating GitLab Pages that were hosted on Cloudflare CDN. My new setup just uses GitLab for the code repository and Netlify for everything else. Using Netlify is fairly common for static sites, but the thing that made mine unique and required some of the complexity of the previous setup, is that I wanted to use Madoko to build some documentation files and include the output of that process into the final website.
I posted last year about using Hugo and Madoko in a Custom Docker Image for GitLab CI/CD. I received an email asking for more information about the image and my CI file setup. This post goes into a bit more detail about the GitLab CI configuration file that I used and what the various parts of it do in the build process.
I migrated to Hugo from Wordpress, and in that process I have been trying to find ways to optimize the editing, building and hosting systems that I use for this website.