Choosing your SSG to start your build

Sites can be configured to build using Jekyll, Hugo, Eleventy, or Static.

Support for Next.js is currently in private beta. Contact support if you would like to join the beta.

When connecting your site, you will be asked to select your SSG to build with. You can change this at any time by:

  1. Navigating to your site’s settings
  2. Navigating to Builds / Build
  3. Selecting your SSG from the dropdown, then clicking Update Configuration at the bottom of the page

Build Step

Here you can find what commands CloudCannon uses to build your sites. Learn more about extending your build process with hooks.

Jekyll is one of the first popular SSGs. Learn how you can customize Jekyll and the build environment to your needs.

Sites without a Gemfile are built with:

shell
jekyll build

Sites with a Gemfile are built with:

shell
bundle install
bundle exec jekyll build

These commands are run in the root folder of your site.

Note

If your Gemfile isn’t in the root folder, set the BUNDLE_GEMFILE environment variable to tell the Bundler where to find it. Setting this requires that your gems are specified in the _config.yml file.

Was this article helpful? or Suggest an improvement >

Related articles