Docs / Deployment / Static hosting

Static hosting

Deploy your Dustavez documentation site to any static hosting provider. Build once, host anywhere.

Dustavez builds to a dist/ directory of static HTML, CSS, and JavaScript. No server runtime is required — any static hosting provider works.

Build

Terminal
npm run build

The output is in the dist/ directory. You can preview the production build locally:

Terminal
npm run preview

Deploy to any static host

Upload or push the contents of dist/ to your hosting provider. Most platforms auto-detect static sites or let you configure the output directory.

Netlify

Set the build command to npm run build and the publish directory to dist/. Netlify auto-detects Astro projects.

netlify.toml
[build]
command = "npm run build"
publish = "dist"

Cloudflare Pages

In the Cloudflare dashboard, set:

  • Build command: npm run build
  • Build output directory: dist

GitHub Pages

See the dedicated GitHub Pages guide for workflow configuration.

Vercel

See the dedicated Vercel guide for project settings.

Tip

Since Dustavez is a standard Astro static site, any provider that serves static files will work. The guides above are just the most common options.

Platform-specific guides

Last updated: April 4, 2026
Edit this page on GitHub