Revert message

This commit is contained in:
Keannu Christian Bernasol 2025-03-27 04:32:52 +08:00
parent ae48df0b94
commit dac6796cc6
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ steps:
settings:
url:
from_secret: NTFY_URL
title: "${CI_REPO_NAME} build ${build.status}"
title: "${CI_REPO_NAME} build ${CI_PREV_PIPELINE_STATUS}"
priority: urgent
click: https://blog.06222001.xyz
icon: https://github.com/woodpecker-ci/woodpecker/blob/main/docs/static/img/logo.svg
@ -38,7 +38,7 @@ steps:
from_secret: DISCORD_WEBHOOK_ID
webhook_token:
from_secret: DISCORD_WEBHOOK_TOKEN
message: "${CI_REPO_NAME} build ${build.status}"
message: "${CI_REPO_NAME} build ${CI_PREV_PIPELINE_STATUS}"
depends_on: build
when:

View file

@ -16,7 +16,7 @@ steps:
settings:
url:
from_secret: NTFY_URL
title: "${CI_REPO_NAME} deploy ${build.status}"
title: "${CI_REPO_NAME} deploy ${CI_PREV_PIPELINE_STATUS}"
priority: urgent
click: https://blog.06222001.xyz
icon: https://github.com/woodpecker-ci/woodpecker/blob/main/docs/static/img/logo.svg
@ -30,7 +30,7 @@ steps:
from_secret: DISCORD_WEBHOOK_ID
webhook_token:
from_secret: DISCORD_WEBHOOK_TOKEN
message: "${CI_REPO_NAME} deploy ${build.status}"
message: "${CI_REPO_NAME} deploy ${CI_PREV_PIPELINE_STATUS}"
depends_on: deploy
when: