Skip to main content
  1. Posts/

Deploying Nikola Site to Cloudflare Pages

·1 min
Author
Ian Loke
Tech generalist based in Singapore with 10+ years in Industrial Automation, IIoT, OT Security, and Energy. I go deep on the things I’m curious about.

This site is built on Nikola and deployed on Cloudflare Pages. Being a static site generator, you are able to deploy your Nikola site to Pages by following the Static HTML Guide.

As an example, here is an example of Cloudflare Pages settings for a Nikola site hosted on a Github repository.

Under the Build settings section, do the following:

Framework preset = None
Build command = exit 0
Build output directory = SITE/output

NOTE that SITE is the <directory_name> containing all your Nikola site assets.

Leave the rest as default and click Save and Deploy.

Settings to deploy Nikola site to Pages

By default, Pages will automatically trigger a deployment any time you commit and push your code to your Github repository.

Pages deployment

Related