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
|
- name: notify-success
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
urls:
|
urls: https://discord.com/api/webhooks/YOUR_WEBHOOK_URL
|
||||||
- https://discord.com/api/webhooks/YOUR_WEBHOOK_URL # Замените на ваш webhook
|
|
||||||
content_type: application/json
|
content_type: application/json
|
||||||
template: |
|
template: |
|
||||||
{
|
{
|
||||||
@@ -153,8 +152,7 @@ steps:
|
|||||||
- name: notify-failure
|
- name: notify-failure
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
urls:
|
urls: https://discord.com/api/webhooks/YOUR_WEBHOOK_URL
|
||||||
- https://discord.com/api/webhooks/YOUR_WEBHOOK_URL # Замените на ваш webhook
|
|
||||||
content_type: application/json
|
content_type: application/json
|
||||||
template: |
|
template: |
|
||||||
{
|
{
|
||||||
@@ -233,8 +231,7 @@ steps:
|
|||||||
- name: notify-deploy
|
- name: notify-deploy
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
urls:
|
urls: https://discord.com/api/webhooks/YOUR_WEBHOOK_URL
|
||||||
- https://discord.com/api/webhooks/YOUR_WEBHOOK_URL # Замените на ваш webhook
|
|
||||||
content_type: application/json
|
content_type: application/json
|
||||||
template: |
|
template: |
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user