This buildpack compiles your Jekyll site when you push it to Heroku. Use it with rack-jekyll to serve your Jekyll application from Heroku without having to wait for the _site
directory to be build each time the application boots.
This buildpack works best with heroku-buildpack-multi so that it can be used with your app's existing buildpacks.
https://github.com/heroku/heroku-buildpack-ruby
https://github.com/chrismytton/heroku-jekyll-buildpack
require 'rack/jekyll'
Jekyll::PluginManager.require_from_bundler
run Rack::Jekyll.new
source 'https://rubygems.org'
gem 'jekyll'
gem 'rack-jekyll'
web: bundle exec rackup -p $PORT
$ heroku create jekyll-site --buildpack https://github.com/ddollar/heroku-buildpack-multi
$ heroku buildpacks:set https://github.com/ddollar/heroku-buildpack-multi.git