Skill: Deployment Checklist
To Staging (automatic)
Merge MR to develop branch. GitLab CI/CD:
- Runs full CI pipeline
- Builds Docker image
- Deploys to staging server
- Runs smoke test
To Production
- Ensure staging has been tested
- Create a release tag from main:
git checkout main git pull git tag v1.x.x git push origin v1.x.x - GitLab CI/CD:
- Builds production Docker image
- Runs migration
- Deploys to production
- Pushes OTA update (if JS-only change)
- Generates changelog
Pre-deployment Checklist
- All tests pass on develop
- Staging tested and verified
- Database migrations reviewed
- No breaking API changes (or documented and versioned)
- Environment variables added to production (if new)
- Feature flags configured (if applicable)
Rollback
- Revert the tag or deploy previous Docker image
- If migration was destructive: restore from backup