discord
Reference for the `discord` action.
discord· action · runnanook doc discordfor the same content in your terminal.
Posts alert embeds to a Discord channel via webhook.
Options
| Option | Type | Default | Description |
|---|---|---|---|
url | string | required 🔒 | target webhook URL |
method | enum | POST | HTTP method (one of: GET, POST, PUT, PATCH, DELETE) |
retries | string | 0 | number of retries on failure |
backoff | string | 1s | retry backoff |
Examples
Discord channel via webhook
[]
= "discord"
[]
= "${DISCORD_WEBHOOK_URL}"
Retry on transient failures
[]
= "discord"
[]
= "${DISCORD_WEBHOOK_URL}"
= 3
= 1500