Skip to main content

Discord

Send release notifications to Discord

Config

announce:
  discord:
    enabled: true
    webhook_url: "{{ Env.DISCORD_WEBHOOK_URL }}"
    message_template: "{{ ProjectName }} {{ Tag }} has been released! {{ ReleaseURL }}"

When webhook_url is unset, anodizer assembles the webhook URL from the DISCORD_WEBHOOK_ID and DISCORD_WEBHOOK_TOKEN env var pair.

FieldTypeDescription
enabledboolEnable Discord notifications
webhook_urlstringDiscord webhook URL (falls back to the DISCORD_WEBHOOK_ID + DISCORD_WEBHOOK_TOKEN env pair)
message_templatestringMessage body (templates supported)