← Back to Journal

Github Pages to Heroku

Posted on 02 September 2012

Synopsis

My initial goal was to put my jekyll website on Heroku but I have encountered many problems due of my bad Ruby level and pygment usage.

During month my jekyll website was freely hosted by GitHub Pages. Thanks for all the fish. But GitHub is not for app hosting.

Many hours of:

“What the fuck I have 404 ?” “Oh Damn it my local Jekyll render it correctly and not on Github…” “Ohh enough, it was just the yaml header with quotes which give me fucking 404”

Idea

I think it’s important to use local rendering to be sur of it and don’t have surprise after deployment.

Jekyll is rendered locally, hosted on Heroku, backuped on Heroku and Github for versionning.

By the way you can see a 404.html page.

Finally

And finally we have this workflow:

Your Github repo will be updated and heroku will received new website version.