Deploy hugo site and commit to github with a simple bash script

I have been looking on the internet for quite a while for a half decent bash script to deploy my hugo site and commit the blog related files to github. I couldn’t find much. Just a few YouTubers sharing their hacky idea around the topic. I must say though that they did help me quite a bit. I ended up creating my own script. I thought I’d share it since it might help others stuck in this space....

May 2, 2021 · 3 min · Allwyn