Deployment

This section provides comprehensive guides for deploying your Jekyll website to various hosting platforms, including GitHub Pages, Netlify, and more.

  • Cloudflare Configuration Guide Overview This cloudflare.toml file provides comprehensive configuration settings for deploying the Jekyll website on Cloudflare Pages. It defines build processes, security headers, routing rules, and performance optimizations. Build Configuration Build Command command = "jekyll build" Specifies the command to build the Jekyll site Generates static files in the _site directory Publish Directory publish = "_site" Defines the directory containing the generated static site Cloudflare Pages will serve files from this directory Environment and Ruby Version RUBY_VERSION = "3.

  • Netlify Configuration Guide Overview This netlify.toml file provides configuration settings for deploying the Jekyll website on Netlify. It defines build processes, environment variables, security headers, and routing rules. Build Configuration Build Command command = "jekyll build" Specifies the command to build the Jekyll site Generates static files in the _site directory Publish Directory publish = "_site" Defines the directory containing the generated static site Netlify will serve files from this directory Ruby Version RUBY_VERSION = "3.