fix: исправлен формат urls в Drone webhook
Some checks reported errors
continuous-integration/drone/push Build encountered an error
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:
@@ -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: |
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user