rollback
Installation
SKILL.md
Rollback ZeroDeploy Deployment
Rollback to a previous deployment version.
Steps
1. Read config
Check if zerodeploy.json exists in the project root. Extract org and site values.
If not found, ask the user for the org and site slugs.
2. List recent deployments
zerodeploy deployments list --json
(Site is resolved automatically from zerodeploy.json. Use positional <site> to override.)
Show the user the recent deployments so they can choose which one to rollback to.
3. Rollback
If the user specified a deployment ID:
zerodeploy rollback --to <deployment-id>
Otherwise, rollback to the previous deployment:
zerodeploy rollback
4. Verify
After rollback, confirm the active deployment has changed by checking the site URL.
Error Handling
| Exit Code | Meaning | Action |
|---|---|---|
| 1 | Auth error | Run zerodeploy login |
| 2 | Not found | Check org/site slugs |
| 3 | Validation error | No previous deployment exists |
User request
$ARGUMENTS
Weekly Installs
2
Repository
zerodeploy-dev/skillsFirst Seen
Feb 25, 2026
Security Audits
Installed on
opencode2
gemini-cli2
claude-code2
github-copilot2
codex2
kimi-cli2