--- name: deploy description: "Deploy to production and VERIFY it shipped. Use whenever deploying, releasing, or pushing changes live." --- # Deploy ## Before you start - [ ] Tests pass locally - [ ] You are not on the default branch (or you intend to be) ## Steps 1. Run `./scripts/deploy.sh` 2. Wait for the line `==> Deploy complete.` Anything else is a failure, even if the exit code is 0. 3. Verify the change is actually on the box: `[the concrete grep/curl that proves it]` 4. Check logs for new errors: `[command]` ## It is not done until All three of: the completion line printed, the change greps on the box, and the logs are clean. Two out of three is a failed deploy that looks fine. ## If it fails - `[known failure 1]` -> `[fix]` - `[known failure 2]` -> `[fix]`