Github Pages and Actions



Github actions along with Github Pages has made it so simple to update my site as I continue to create and update content. I can create content, commit to my branch, push my changes to Github and have those changes instantly deployed.


Step 1: Set Up Workflow File

Hugo Documentation has a base file to start with.



Step 2: Make Changes to Hugo Project

  • Make some changes to your site
  • Commit your changes
  • Push your changes to Github

Note: Run Hugo at the root level to make sure all files are updated. You can test your changes locally by running "hugo server" (add -D if you want to test drafts as well).

Step 3: See your Actions Running


Sources