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.

Wercker

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’ve made the wercker application public. The pipeline is pretty simple, but sharing it out might help others out. Wercker is using joekr.github.com-source to build and deploy to joekr.github.com.

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! 👍