dev #5
+6
-4
@@ -371,9 +371,10 @@ steps:
|
||||
environment:
|
||||
WECHAT_WEBHOOK:
|
||||
from_secret: wechat_webhook
|
||||
depends_on:
|
||||
- archive-to-main
|
||||
commands:
|
||||
- chmod +x scripts/notify-wechat.sh
|
||||
- WECHAT_WEBHOOK="$WECHAT_WEBHOOK" ./scripts/notify-wechat.sh success
|
||||
- sh scripts/notify-wechat.sh success
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
@@ -388,9 +389,10 @@ steps:
|
||||
environment:
|
||||
WECHAT_WEBHOOK:
|
||||
from_secret: wechat_webhook
|
||||
depends_on:
|
||||
- deploy-production
|
||||
commands:
|
||||
- chmod +x scripts/notify-wechat.sh
|
||||
- WECHAT_WEBHOOK="$WECHAT_WEBHOOK" ./scripts/notify-wechat.sh failure
|
||||
- sh scripts/notify-wechat.sh failure
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
||||
Reference in New Issue
Block a user