From e1cad469f3a9e22c585cd20467358a03726b1cc2 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 7 Aug 2023 19:59:17 -0400 Subject: [PATCH] Woodpecker updates. --- .woodpecker.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index a55d39ab..4e518e19 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,4 +1,4 @@ -pipeline: +steps: fetch_git_submodules: image: node:alpine commands: @@ -43,3 +43,19 @@ pipeline: tag: dev when: event: cron + + notify_on_failure: + image: alpine:3 + commands: + - apk add curl + - "curl -d'Lemmy-UI CI build failed: ${CI_PIPELINE_URL}' ntfy.sh/lemmy_drone_ci" + when: + status: [failure] + + notify_on_tag_deploy: + image: alpine:3 + commands: + - apk add curl + - "curl -d'lemmy-ui:${CI_COMMIT_TAG} deployed' ntfy.sh/lemmy_drone_ci" + when: + event: tag