Jekyll allows you to build static sites that you can deploy with Hatchbox.io
Written by Chris Oliver
Updated over a week ago
Deploying static sites with Hatchbox is as simple as building your site and outputting it to the public folder. This folder is served up by Caddy and will match URLs and check for an index.html anytime a folder is requested.
Edit your app's deploy script so it builds Jekyll and outputs to the `public` folder.
bundle install
bundle exec jekyll build --destination public
Since static sites may not be set up to automatically expire the cache, you can disable caching in Caddy by removing the asset cache control variable from the Caddy routes setup. This setting is found by clicking on the edit button on your app dashboard in Hatchbox and scroll down a bit. It should look like below to have caching disabled.