Deploy to Cloudflare Pages

Atlas builds as a static Astro site, which maps directly to Cloudflare Pages.

  1. Push your repo to GitHub.
  2. Open Cloudflare Pages new project flow:
    • https://dash.cloudflare.com/?to=/:account/pages/new/provider/github
  3. Connect your repository and use:
    • Framework preset: Astro
    • Build command: npm run build
    • Build output directory: dist
    • Node.js version: 22.12.0 or newer

Option 2: Deploy from CLI

npx wrangler login
npm run cf:deploy

The default command uses project name atlas:

"cf:deploy": "npm run build && wrangler pages deploy dist --project-name atlas"

If your Cloudflare project has a different name, update --project-name in package.json.

dqnamo