Continuous Deployment Via FTP For Hugo Using GitHub Actions

April 6, 2020

After I migrated my website to Hugo, I needed a way to deploy the site to my host without manually FTPing files every time I make change. Netlify has support for static site hosting and continuous deployment, but I wasn’t looking to switch hosts. Previously I used AppVeyor to deploy, but this time I decided to use GitHub Actions to automate building and deploying the site whenever I push changes to master.

I utilized two actions from the GitHub Marketplace to setup the workflow: