#cloudflare
#deployment
Deploying a Blog on Cloudflare Pages
1 min read
Deploying your Astro blog to Cloudflare Pages is straightforward.
1. Build the site
npm run build
2. Deploy with Wrangler
npx wrangler pages deploy ./dist --project-name=my-blog
Bindings
If your site uses D1 and R2, make sure to configure them in wrangler.toml and verify them with the debug endpoint.
That’s it — your site is live on a fast, global edge network.