Deploy
Any static host works. Cloudflare Pages, Netlify and Vercel need two settings each.
npm run build produces a folder of plain HTML in dist/. There is no server component.
Cloudflare Pages
- Push the repository to GitHub.
- Pages → Create project → connect the repo.
- Build command
npm run build, output directorydist.
Netlify
Same two values: build npm run build, publish dist.
Vercel
It detects Astro by itself. Confirm the output directory is dist.
Custom domain
Point the domain at the host, then change site.url in site.config.yaml and redeploy. The canonical tags, sitemap and RSS all follow that one value — no other file needs editing.
What gets published
Everything in dist/, including /sitemap-index.xml and /robots.txt, which are generated from site.url at build time.