# Deploy

> Deploy the application to staging or production and roll back failed releases

- Skill: `stbenjam/deploy-3` (Agent Skill)
- Install (CLI): `npx skillmds@latest add stbenjam/deploy-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/stbenjam/deploy-3/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: stbenjam (https://skillmd.com/u/stbenjam)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/stbenjam/deploy-3

---


# Deploy

Run deployments from a clean working tree on the main branch.

<!-- skillsaw-assert content-unclosed-fence -->
```bash
make deploy ENV=staging
make deploy ENV=production

## Rollback

Try to roll back immediately when a release fails health checks. Ideally
the pipeline reverts bad releases on its own, but if possible verify the
dashboards yourself after every deploy.

