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