Deploy Check
Run a pre-deploy checklist and outline a simple rollback plan.
Input
- Target (e.g. "Railway", "staging") or branch. Descriptive only; no secrets.
Steps
- Build –
npm run build. Ensure it succeeds. - Migrations –
npm run db:generateandnpm run db:migrate(ordb:migrate:devin dev). Confirm no pending migrations that would break deploy. - Healthcheck – After deploy,
GET /api/healthshould return{ status: "ok", database: { ok: true } }. - Rollback plan – Short list: revert to previous deployment, re-run migrations if rolled back schema, restore
DATABASE_URL/ env if changed. Do not run rollback automatically; only describe steps.
Output
- List of checks (build, migrations, health) and pass/fail.
- Brief "Rollback plan" section: what to revert and in what order.
References
- railway.toml, Procfile – build and start commands
- README.md – Production notes, env vars
Converted and distributed by TomeVault — claim your Tome and manage your conversions.