The problem with the instructions above is that they require some manual work - the assumption is that the site owner would effectively act as the content generation trigger - you write things locally, you generate the HTML on your machine, and then push that to a GitHub Pages-provisioned repository. #!/bin/bash -l apt-get update apt-get install -y wget git CURRENT_BRANCH = $( git branch | grep \* | cut -d ' ' -f2 ) wget $HUGO_URL yes | dpkg -i hugo*.deb hugo version # Make sure we have the latest theme.