Goal: deploy EmberDocs with predictable, repeatable steps.
npm run lint
npm run typecheck
npm run test
npm run build- Resolve failures locally before shipping.
- Copy
.env.exampleto.env.localfor local runs and to your platform’s env settings for deploys. - Gate optional services (analytics, semantic search, database) behind env flags; defaults should be safe/off.
- Never commit secrets; store them in your deployment platform’s secret manager.
- Vercel/Netlify: set
NODE_VERSION=18+, install withnpm install, build withnpm run build. - Static export (when supported): run
npm run buildand serve.nextoutput via your preferred host. - Self-host: build once, then
npm run startbehind a reverse proxy (TLS, caching as needed).
- Tag releases with
vX.Y.Zto align with git-native versioning and doc routing once implemented. - Keep
dev-docs/planning/anddev-docs/progress/updated; link the relevant entries in your release notes/PR.
- Smoke-test navigation, search, and version selector (if enabled).
- Verify env-flagged integrations behave correctly when missing or disabled.
- Record deploy outcomes and any incidents in
dev-docs/progress/for the deployment day.