After moving to Hugo from Jekyll I needed to setup auto-deploy changes to my github page. Originally it was set up to use a
deploy.sh script from the Hugo blog post. That just isn’t good enough. I’m lazy and I want the computer to do the work for me.
Hugo has another great post, automated deployments using wercker. Since I split up my source and site repos from the previous Hugo post for my personal page I had to make one tweak to the wercker.yml file. I added
repo: joekr/joekr.github.com to the deploy step. This pushes the statically generated site contents to that repo instead of the source.
I’m not 100% sold on this two repo setup but for now it just works. Now all I have to do is commit this post! 👍