DeployMIT · agent-agnostic
Deploy
Deploy the docs site
Ship the static marketing site from site/ to Vercel, Netlify, or GitHub Pages.
Build
Static export from Next.js (output: site/out):
Production build
cd site && npm ci && npm run buildRoot site/vercel.json uses the Next.js framework preset. Vercel project root directory should be site/.
Pre-launch checklist
| Check | Command / action |
|---|---|
| Corpus valid | python3 skills/dzine/scripts/validate_dzine.py --root . |
| Full CI green | ./scripts/ci-local.sh |
| CLI smoke | npx dzine-skill doctor && npx dzine-skill run "<brief>" --write-build-pack |
| Site builds | cd site && npm run build |
| Mobile nav works | Test /docs and homepage on narrow viewport |
| Install path accurate | Copy-paste commands from /docs/install |
Hosting
- Connect repo to Vercel with root directory
site/. - Or upload
site/outto Netlify, Cloudflare Pages, or GitHub Pages. - Verify CSS, docs routes, examples, and 404 page on production URL.
- Run one install-path smoke test from public docs.
Custom domain
Point your domain (e.g. usedzine.dev) to the Vercel production deployment. Ensure HTTPS and that trailing-slash routes match next.config.mjs (trailingSlash: true).