Deploy Hugo generated site to Github Pages - Part 2

I still had to run the ./deploy.sh script after committing changes. Not anymore - I’m calling this script in a github action being run after a push to master! Some refactoring was required - I moved the command related to pushing the generating site to a separate script, and this script is called from github actions. UPDATE: this did not work at all! I resorted to trying out a lot of push Github Actions but none worked....

November 18, 2020 · 1 min

Deploy Hugo generated site to Github Pages

Deploying to github pages is not as easy as I thought. I tried several things for building a Github Action workflow, however this is only meant for actions related to the repository in question. In the end, I follow the approach as mentioned on the Hugo website with a local script. I have pimped it by fetching the latest commit message and the use this message for committing the changes in the generated site....

May 2, 2020 · 1 min