appcrane_rollback
Roll back an environment to a prior release by specifying a deployment ID or reverting to the previous release. Reuses the cached build and records a new deployment.
Instructions
Roll an env back to a prior release. Pass deployment_id (from appcrane_list_releases) to target a specific release, or omit it to roll back to the immediately previous one. Re-runs that release from its recorded build (re-uses the cached per-commit image — no rebuild when it is still retained) and health-checks it. Records a NEW deployment and marks the previous live one rolled_back. Owner-only (or global admin).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| stage | No | Target stage (legacy alias: env). | sandbox |
| deployment_id | No | Target release id. Omit to roll back to the previous release. |