Update: Similar setup but for CircleCI 2.0 is HERE
Deploying to CircleCI as easy as creating yaml file (sometimes you even do not need it as Circle will automatically recognize structure and behavior). But usually it is better to setup at least basic configuration. The problem begins with more complicated functionality and CI documentation is minimal, or to say ‘very hacker friendly’.
My problem was how to use build-in PostgreSQL database with Python application. This is quick tip how I solved it.
The easiest solution how to publish with Hugo to Github Pages is to have two separate repositories, one with blog source files and second with html files. Simple.
We can push files from both repositories manually or can do better. Push just source content and leave the rest for automatic deployment.
Update:
Use Wercker. It is better.
While trying to make this little space in the web finally working, I set up dozens of different static site generators (Jekyll, Pelican, Nikola, Lektor, Sculpin..). I was even thinking about writing my own for some time. I tried wordpress and blogspot. But finally arrived at Hugo and it make my day much better.