Deploying Jekyll to Heroku using GitLab CI

I would like to use GitLab CI in order to be able to separate rebuilding a Jekyll site from deploying the static web pages to a production web server. I know that I can deploy a Jekyll project to Heroku using a buildpack to build the static site remotely; however, that seems wasteful to me compared to merely deploying the resulting static site into production. Since I don’t know how to use GitLab CI, I’d like to explore what it does. I most definitely do not want to use my Jekyll project to learn the basics, since this adds moving parts that I don’t thoroughly understand. Instead, I’d rather do something closer to writing learning tests, in order to limit the unknowns.


This is a companion discussion topic for the original entry at http://blog.thecodewhisperer.com/permalink/deploying-jekyll-to-heroku-using-gitlab-ci

This is the best logical resolution path story I have ever read. Pure gold.
Thank you for sharing it!

FYI: there are a couple of points where the html broke down, I hope someday you can fix those so that the presentation does the content justice. Awesome deserves awesome!

You're welcome.

It appears that I encountered a problem in pandoc. It appears that I am not the first to find this problem. I hope that I have at least patched the article. If anything else looks strange, then please tell me! Thank you.

This is solid. I kinda hate this pink everywhere on the site, but the article was great :D

Thank you. Which color would you prefer?

Extremely useful! Thanks a lot for being so careful and so meticulous with all the details about the process! Much appreciated! :)