fix: lates
Some checks are pending
CI - Production Readiness / Verify (push) Waiting to run

This commit is contained in:
2026-04-21 20:37:59 +07:00
parent f48c87e36d
commit 137edc12b7
15 changed files with 846 additions and 23 deletions

View File

@ -2,13 +2,23 @@
## 1) Normal Deployment
- Deploy code.
- Deploy code:
- optional pre-step on server:
- `git pull`
- `npm ci`
- `npm run build`
- Run migration:
- `npm run db:deploy`
- Optional schema safety (if DB changes):
- `npm run ops:readiness`
- Update environment variables and secrets.
- Start app service.
- Start or restart app service:
- `npm run ops:safe-restart`
- Start retry worker (`daemon` or cron).
- Start maintenance cleanup (`npm run ops:maintenance`) on a periodic schedule, e.g. daily.
- Verify auth session baseline (24h check target default can be tuned via `SESSION_TTL_SECONDS`):
- set `OPS_SESSION_CHECK_EMAIL` dan `OPS_SESSION_CHECK_PASSWORD` di `.env`
- `npm run ops:session-check`
- Run readiness:
- `npm run ops:readiness`
- Monitor: