Deploy a Jekyll Static Site
You can deploy a Jekyll static site on Render in under a minute. Your site is served over a lightning-fast global CDN, comes with fully managed SSL certificates from Let’s Encrypt, and supports custom domains out of the box.
The sample app for this quick start is deployed at https://jekyll.onrender.com.
- Use your existing Jekyll repository, or fork our sample Jekyll repo on GitHub or GitLab.
- Create a new Static Site on Render, and give Render permission to access your new repo.
-
Use the following values during creation:
Build Command bundle exec jekyll build
Publish Directory _site
That’s it! Your app will be live on your Render URL as soon as the build finishes.
A note on Ruby versions
By default, Render uses the latest LTS version of Ruby.
It can also automatically detect and install the version of Ruby specified in .ruby-version
at the root of your project, or in your Gemfile
.
This is the relevant snippet from the Gemfile
in this repo:
ruby '2.5.3'