Skip to main content
github.deleteDeployment deletes one deployment record.
automations/delete-github-deployment.automation.ts
Provide the repository and deploymentId. If the repository has multiple deployments, the target must already have an inactive status. GitHub permits the repository’s sole deployment to be deleted regardless of status. Returns {} after deletion. Requires Deployments write permission.