Checklist
What to check before your app goes to production.
- Secrets are stored with
--secret, never as plain variables, and none uses a public prefix (NEXT_PUBLIC_,PUBLIC_,VITE_). - Previews use a test database and test keys, never production’s.
- Preview protection is on (
sypniaorpassword) if previews show unreleased work. - CI deploys with a deploy token scoped to one app, or with GitHub OIDC.
- Production releases from agents require approval (the default).
-
release.auto_rollbackis on for apps where a bad deploy costs money. - Database migrations stay compatible with the previous deploy for one release.
- Your app sets security headers (
Content-Security-Policy,Strict-Transport-Security) inheaders. - Logs do not contain tokens, passwords or personal data you do not need.
- Your custom domain’s DNS is in an account with two-factor sign-in, or in Sypnia Domains.