Skip to content

Deployment

Starlight builds a static site. There is no server-side rendering requirement for this setup.

Run:

Terminal window
npm run docs:build

The generated site will be written to docs-site/dist.

That directory is the artifact to publish.

  • GitHub Pages
  • Netlify
  • Cloudflare Pages
  • Azure Static Web Apps
  • Blob storage plus CDN

Read Static Hosting for the generic deployment contract.