github.onDeploymentFailed emits deployment statuses with state: "failure".
automations/github-deployment-failed.automation.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Run when a GitHub deployment status fails.
github.onDeploymentFailed emits deployment statuses with state: "failure".
import { automation } from "automate.ax"
import { github } from "automate.ax/github"
export default automation("GitHub deployment failed", () => {
const event = github.onDeploymentFailed()
// Update the GitHub deployment in the release dashboard.
})