# Deploy

Build and deploy the Dahlia starter as a static Astro site.

Dahlia renders static documentation pages, so the starter works on any host that
can serve an Astro static build.

## Vercel

Click the button to clone this starter and deploy it on Vercel:

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fprosefly%2Fastro-template-dahlia-starter&project-name=dahlia-starter&repository-name=dahlia-starter)

The starter includes `vercel.json`, which tells Vercel to run `npm run build` and
serve `dist`.

## Build Output

Run:

```sh
npm run build
```

Astro writes the production site to `dist`.

## Common Hosts

- Netlify
- Vercel
- Cloudflare Pages
- GitHub Pages

Use `npm run build` as the build command and `dist` as the output directory.
