Lately, I’ve been doing some work in getting Hugo websites building through Github actions, and then have them deployed with Netlify. Of course, once we are building with GitHub actions we could also just use GitHub pages to deploy, and I’ll show how you can do that too, even if I will keep using Netlify.
Why build with GitHub actions and not let Netlify do all the job? Well, there is definitely good reasons to let Netlify do all the work for you.