Keep a simple rollback command or job ready before each production deploy.
Section: Ship progressively
Rollback to the previous version
bash
bash
./scripts/rollback.sh previousExplanation
Rollback speed matters more than rollback theory during an incident. Make it scripted and obvious.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Ship progressively
Release from version tags
Trigger a release pipeline when a semver tag is pushed.
Canary deploy flow
Send a small portion of traffic to the new version before full rollout.
Run smoke tests after deployment
Verify critical endpoints before marking a release healthy.
Run database migrations during deploy
Apply migrations as an explicit pipeline stage.