How to deploy a static blog on Cloudflare Pages

Published: 2025-08-01

Push your site files to GitHub and connect the repo to Cloudflare Pages. For simple static sites, leave the build command empty and set the output directory to /.

Quick steps

  1. Create a Git repo and push files.
  2. In Cloudflare Pages, create a project and connect the repo.
  3. For static files, leave build command blank and output directory set to /.
  4. Deploy and optionally add a custom domain.