Static Hosting
Any host that can serve files from a directory can host this site.
Build contract
Section titled “Build contract”- Install dependencies in
docs-site - Run
npm run build - Publish the contents of
docs-site/dist
Example CI outline
Section titled “Example CI outline”cd docs-sitenpm cinpm run buildThen upload dist/ to the host.
If you deploy under a subpath
Section titled “If you deploy under a subpath”Some hosts serve a site from a path like /docs/ instead of the domain root. In that case, set Astro site and base in astro.config.mjs before deploying.
That is the main deployment-specific value you may still need to adjust.