fix: исправлен формат urls в Drone webhook
Some checks reported errors
continuous-integration/drone/push Build encountered an error

- urls должен быть строкой, а не списком
- Убраны квадратные скобки из urls для всех webhook'ов
- Исправлена ошибка unmarshal map into string на строке 126
This commit is contained in:
2025-11-22 19:03:45 +09:00
parent 2e92164bbf
commit 38529a8805

View File

@@ -135,8 +135,7 @@ steps:
- name: notify-success
image: plugins/webhook
settings:
urls:
- https://discord.com/api/webhooks/YOUR_WEBHOOK_URL # Замените на ваш webhook
urls: https://discord.com/api/webhooks/YOUR_WEBHOOK_URL
content_type: application/json
template: |
{
@@ -153,8 +152,7 @@ steps:
- name: notify-failure
image: plugins/webhook
settings:
urls:
- https://discord.com/api/webhooks/YOUR_WEBHOOK_URL # Замените на ваш webhook
urls: https://discord.com/api/webhooks/YOUR_WEBHOOK_URL
content_type: application/json
template: |
{
@@ -233,8 +231,7 @@ steps:
- name: notify-deploy
image: plugins/webhook
settings:
urls:
- https://discord.com/api/webhooks/YOUR_WEBHOOK_URL # Замените на ваш webhook
urls: https://discord.com/api/webhooks/YOUR_WEBHOOK_URL
content_type: application/json
template: |
{