{
  "github_actions": {
    "best_for": "Notify iPhone when a GitHub Actions workflow fails.",
    "secret": "NERVE_DSN",
    "example": "- name: Notify Nerve on failure\n  if: failure()\n  env:\n    NERVE_DSN: ${{ secrets.NERVE_DSN }}\n  run: |\n    printf 'FAILED: %s\\nbranch: %s\\nrun: %s\\n' \\\n      \"${{ github.repository }}\" \\\n      \"${{ github.ref_name }}\" \\\n      \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\" \\\n      | nerve send --severity critical --title \"CI failed\""
  },
  "cron": {
    "best_for": "Notify iPhone when a cron job or backup script fails.",
    "secret": "NERVE_DSN",
    "example": "/opt/jobs/backup.sh || echo \"backup failed on $(hostname)\" | nerve send --severity critical --title \"Backup failed\""
  },
  "bash": {
    "best_for": "Send a one-off encrypted operational signal from a shell script.",
    "secret": "NERVE_DSN",
    "example": "echo \"deploy failed\" | nerve send --severity critical --title \"Deploy failed\""
  }
}
