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
- Create a Git repo and push files.
- In Cloudflare Pages, create a project and connect the repo.
- For static files, leave build command blank and output directory set to
/. - Deploy and optionally add a custom domain.