Skip to content

Commit cabf2a3

Browse files
committed
debug, pring env in slack hook
1 parent 10486c5 commit cabf2a3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

live-demo/deploy/.woodpecker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ steps:
2626

2727
slack-on-failure:
2828
# use curl because the plugin can't interpolate template
29+
when:
30+
- event: push
2931
image: curlimages/curl
3032
when:
31-
- status: failure
32-
event: push
3333
- event: push
3434
commands:
35-
- cd live-demo/deploy && /bin/sh failToSlack.sh
35+
- cd live-demo/deploy && /bin/sh buildSlackNotify.sh
3636

3737
secrets:
3838
- DEVELOPERS_SLACK_WEBHOOK
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22

3+
env
4+
35
export BUILD_LOG=$(cat ../../adminforth/build.log)
46

57
COMMIT_SHORT_SHA=$(echo $CI_COMMIT_SHA | cut -c1-8)

0 commit comments

Comments
 (0)