This is a small write up about setting up GitHub Actions to deploy Hugo site.
Table of content
How I was deploying it earlier?
I used to have 2 commits for any changes.
- Changes to the posts
- HTML documents generated through
hugo
command
What was the problem there?
The major problem is the process involves 2 steps. Sometimes, I used to forget generating HTML docs and the changes never flow into the static site.