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