komal.nakrani
Browse Themes
ThemesCategoriesDocsBlog
Docs/Going Live/Deploy to Cloudflare Pages

Deploy to Cloudflare Pages

Connect a repository and ship the static build — the setup every theme in this catalog runs on.

Updated: September 2026·License: Commercial & Personal
Every live preview in this catalog is served from Cloudflare Pages, so this path is the best tested.

From a Git repository

1. In the Cloudflare dashboard, open Workers & Pages → Create → Pages → Connect to Git 2. Pick your repository 3. Set the build settings:

| Setting | Value | | --

  • | --- |
  • | Framework preset | Astro | | Build command | npm run build | | Build output directory | dist |

    4. Save and Deploy

    Every push to your production branch rebuilds and redeploys. Pull requests get their own preview URL.

    From your machine

    bash
    npm run build
    npx wrangler pages deploy dist

    Node version

    If the build fails on a Node version mismatch, pin it with an environment variable in the project settings:

    text
    NODE_VERSION = 20
    Explore production-ready themes

    Hand-built Astro themes — SaaS, storefront, portfolio, and dashboard.

    Browse All Themes ➔