mirror of
https://github.com/lemeow125/Notes.git
synced 2025-04-04 17:11:34 +08:00
Update .yml files
This commit is contained in:
parent
dac6796cc6
commit
2a2b47c6e4
2 changed files with 16 additions and 4 deletions
|
@ -24,7 +24,10 @@ steps:
|
|||
settings:
|
||||
url:
|
||||
from_secret: NTFY_URL
|
||||
title: "${CI_REPO_NAME} build ${CI_PREV_PIPELINE_STATUS}"
|
||||
title: >
|
||||
{{#success build.status}}
|
||||
{CI_REPO_NAME} build {{build.number}} {{build.status}}
|
||||
{{/success}}
|
||||
priority: urgent
|
||||
click: https://blog.06222001.xyz
|
||||
icon: https://github.com/woodpecker-ci/woodpecker/blob/main/docs/static/img/logo.svg
|
||||
|
@ -38,7 +41,10 @@ steps:
|
|||
from_secret: DISCORD_WEBHOOK_ID
|
||||
webhook_token:
|
||||
from_secret: DISCORD_WEBHOOK_TOKEN
|
||||
message: "${CI_REPO_NAME} build ${CI_PREV_PIPELINE_STATUS}"
|
||||
message: >
|
||||
{{#success build.status}}
|
||||
{CI_REPO_NAME} build {{build.number}} {{build.status}}
|
||||
{{/success}}
|
||||
depends_on: build
|
||||
|
||||
when:
|
||||
|
|
|
@ -16,7 +16,10 @@ steps:
|
|||
settings:
|
||||
url:
|
||||
from_secret: NTFY_URL
|
||||
title: "${CI_REPO_NAME} deploy ${CI_PREV_PIPELINE_STATUS}"
|
||||
title: >
|
||||
{{#success build.status}}
|
||||
{CI_REPO_NAME} deploy {{build.number}} {{build.status}}
|
||||
{{/success}}
|
||||
priority: urgent
|
||||
click: https://blog.06222001.xyz
|
||||
icon: https://github.com/woodpecker-ci/woodpecker/blob/main/docs/static/img/logo.svg
|
||||
|
@ -30,7 +33,10 @@ steps:
|
|||
from_secret: DISCORD_WEBHOOK_ID
|
||||
webhook_token:
|
||||
from_secret: DISCORD_WEBHOOK_TOKEN
|
||||
message: "${CI_REPO_NAME} deploy ${CI_PREV_PIPELINE_STATUS}"
|
||||
message: >
|
||||
{{#success build.status}}
|
||||
{CI_REPO_NAME} deploy {{build.number}} {{build.status}}
|
||||
{{/success}}
|
||||
depends_on: deploy
|
||||
|
||||
when:
|
||||
|
|
Loading…
Add table
Reference in a new issue