Skip to content

Commit 95a0108

Browse files
committed
fix: add event filtering for slack-on-failure
1 parent 26244c0 commit 95a0108

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

live-demo/deploy/.woodpecker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ steps:
2525
- NPM_TOKEN
2626
- SLACK_WEBHOOK
2727

28-
slack-after-build:
28+
slack-on-failure:
2929
image: plugins/slack
30+
when:
31+
- event: push
3032
secrets:
3133
- DEVELOPERS_SLACK_WEBHOOK
3234
webhook: $DEVELOPERS_SLACK_WEBHOOK

0 commit comments

Comments
 (0)