Deploying Hugo site using wercker to github

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 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/ 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 to build and deploy to

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! ๐Ÿ‘