Deployment

The project builds to static files in dist/ with pnpm build. Each host reads its own config file, so importing the repo is enough:

Host File What it sets
Vercel vercel.json pnpm install, pnpm build, output dist, long cache for /_astro/*
Netlify netlify.toml pnpm build, publish dist, Node 22, long cache for /_astro/*
Cloudflare Workers wrangler.jsonc pnpm build, static assets from dist, 404.html for missing pages
Cloudflare / Netlify public/_headers cache headers copied into dist

Node version: .node-version (22). Cloudflare from the command line: pnpm build && pnpm dlx wrangler deploy.

Set site in astro.config.ts to your real domain before going live (canonical and share URLs use it).

Improve this page on Github  — Last updated:  Wed, Nov 18, 2026