The repo carries a config for each host, so importing it is enough: install with pnpm install, build with
pnpm build, publish dist, Node 22.
| Host | File | What it sets |
|---|---|---|
| Vercel | vercel.json |
framework, install and build commands, dist, long cache for /_astro/* |
| Netlify | netlify.toml |
build command, dist, Node 22, long cache for /_astro/* |
| Cloudflare Workers | wrangler.jsonc |
build command, dist as static assets, 404.html for missing pages |
| Cloudflare / Netlify | public/_headers |
long cache for /_astro/* |
| All | .node-version |
Node 22 |
Cloudflare from the command line: pnpm dlx wrangler deploy.
Set site in astro.config.mjs to your real domain before going live (canonical and share URLs use it).