Skip to main content

Webhooks

Send release notifications to generic webhook endpoints

Config

announce:
  webhook:
    enabled: true
    endpoint_url: "https://api.example.com/releases"
    content_type: "application/json"
    message_template: |
      {"project": "{{ ProjectName }}", "version": "{{ Version }}", "url": "{{ ReleaseURL }}"}

Use webhooks to integrate with any service that accepts HTTP POST requests. The message template can produce JSON, plain text, or any format your endpoint expects.

FieldTypeDescription
enabledboolEnable webhook notifications
endpoint_urlstringEndpoint URL
headersmapCustom HTTP headers. A header named here replaces the default of the same name, including Content-Type, User-Agent and the Authorization header derived from BASIC_AUTH_HEADER_VALUE / BEARER_TOKEN_HEADER_VALUE
content_typestringContent-Type header (e.g., application/json)
message_templatestringPOST body (templates supported)