fix: add username/icon_url to Forgejo Discord webhook config
All checks were successful
CI/CD / syntax-check (push) Successful in 1m8s
CI/CD / deploy (push) Successful in 13m10s

Prevents the 'meta json: readObjectStart' error on fresh deploys.
Existing hooks already fixed via direct DB update.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jack 2026-03-26 06:10:56 +07:00
parent 9715ac900a
commit 4090d8289b

View file

@ -105,6 +105,8 @@
config: config:
url: "{{ discord_webhook_deploys }}" url: "{{ discord_webhook_deploys }}"
content_type: "json" content_type: "json"
username: "Forgejo"
icon_url: ""
events: ["push", "create"] events: ["push", "create"]
active: true active: true
status_code: 201 status_code: 201