Deployment

The project builds to a static site in dist/. Config files for three hosts are included, so each one picks up the build command and output folder on its own: push the project to GitHub, GitLab or Bitbucket and import it.

Host File Settings it provides
Vercel vercel.json Astro preset, pnpm install, pnpm build, output dist, asset caching
Netlify netlify.toml pnpm build, publish dist, Node 22, asset caching
Cloudflare wrangler.jsonc Workers static assets from dist, pnpm build, the custom 404 page
  • .node-version pins Node 22 for hosts that read it, and public/_headers sets long caching for the hashed files in /_astro/ (used by Cloudflare and Netlify).
  • Cloudflare from the command line: pnpm dlx wrangler deploy builds and uploads in one step. Change name in wrangler.jsonc to your project name first.
  • Before going live, set site in astro.config.mjs to your real domain.
Improve this page on Github  — Last updated:  Wed, Nov 18, 2026