Skip to main content
automate.cancelDeployment cancels a deployment in planning, awaiting_authorization, or configuring state.
automations/cancel-deployment.automation.ts
Cancelling an already cancelled deployment succeeds without scheduling another cleanup, so retrying the action is safe. Deployments that reached publishing, succeeded, or failed cannot be cancelled. The action requires deployment:cancel.