Deploy Command
CommandsCustom slash command for running deployment checklists and workflows.
1503/26/2026
markdown1 file
command.md887 B
name: deploy description: Run the deployment checklist and deploy to the configured environment. Use before any production deployment. disable-model-invocation: true
Deploy Command
When deploying, follow this checklist:
Pre-deploy
- Run all tests: verify they pass
- Check for uncommitted changes
- Verify you're on the correct branch
- Check environment variables are set
Deploy steps
- Build the project
- Run database migrations if needed
- Deploy to staging first
- Verify staging deployment
- Deploy to production
- Verify production deployment
Post-deploy
- Check health endpoints
- Monitor error rates for 15 minutes
- Notify team in Slack/Discord
- Update deployment log
Rollback plan
If issues are detected:
- Revert to previous deployment
- Rollback database migrations if applied
- Notify team of rollback
- Create incident report