Drop ntfy

This commit is contained in:
Keannu Christian Bernasol 2025-03-27 04:47:31 +08:00
parent e0cd05e7a9
commit de47b1ea4b
2 changed files with 8 additions and 26 deletions

View file

@ -19,18 +19,6 @@ steps:
- docker push "$REGISTRY_IMAGE_TAG"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- name: ntfy
image: codeberg.org/l-x/woodpecker-ntfy
settings:
url:
from_secret: NTFY_URL
title: "${CI_REPO_NAME} build ${CI_PREV_PIPELINE_STATUS}"
priority: urgent
click: https://api.template.06222001.xyz
icon: https://github.com/woodpecker-ci/woodpecker/blob/main/docs/static/img/logo.svg
tags: robot,${CI_REPO_NAME}
message: ${CI_COMMIT_MESSAGE}
depends_on: build
- name: discord
image: appleboy/drone-discord
settings:
@ -38,7 +26,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}}
{{repo.name}} build #{{build.number}} {{build.status}}
{{/success}}
depends_on: build
when:

View file

@ -26,18 +26,6 @@ steps:
docker pull "$REGISTRY_IMAGE_TAG";
docker-compose up -d;
docker image prune -af;"
- name: ntfy
image: codeberg.org/l-x/woodpecker-ntfy
settings:
url:
from_secret: NTFY_URL
title: "${CI_REPO_NAME} deploy ${CI_PREV_PIPELINE_STATUS}"
priority: urgent
click: https://api.template.06222001.xyz
icon: https://github.com/woodpecker-ci/woodpecker/blob/main/docs/static/img/logo.svg
tags: robot,${CI_REPO_NAME}
message: ${CI_COMMIT_MESSAGE}
depends_on: deploy
- name: discord
image: appleboy/drone-discord
settings:
@ -45,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}}
{{repo.name}} deployment #{{build.number}} {{build.status}}
{{/success}}
depends_on: deploy
when: