Set up Jekyll on GitHub + Digital Ocean


Hey! I’m just starting out with Jekyll. I have everything in a GitHub repo, and I cloned it onto my Digital Ocean server. My question is how do I configure the server to actually run the Jekyll instance? Or how should I send the static files from GitHub to Digital Ocean?


Never mind! I figured out that I should push to GItHub and Digital Ocean separately. I also figured out how to get Jekyll running on Digital Ocean.


Also, take a look at Capistrano for deployments. It’ll make life a lot easier to push it out to the server. I have mine set up that way, but tell it to push everything. Not just _site. Then you can deploy posts with future dates and set up a cron job on the server to run jekyll b at set intervals. Effectively, this creates a scheduling mechanism.


Thanks! I’ll take a look. :slight_smile:


Hey @diklein, would love to hear more about how you’re pushing from GitHub to Digital Ocean, just in the process of setting up my website with Jekyll (but have really limited technical knowledge!).

Any help is highly appreciated :slight_smile:


@antonsten Hey! As of right now I only use GitHub as a backup. From my machine I push to GitHub and Digital Ocean simultaneously. Feel free to email me if you have additional questions.