github_rollback_deployment
Roll back a GitHub environment to an earlier ref by creating a new deployment for that ref and marking the current deployment inactive.
Instructions
Roll back to a previous deployment by creating a new deployment pointing to a specific ref and marking the current deployment as inactive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The git ref (commit SHA, branch, or tag) to deploy | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner | |
| environment | Yes | Environment to roll back (e.g. 'production') | |
| currentDeploymentId | No | ID of the current deployment to mark as inactive |