|
|
|
@ -24,14 +24,14 @@ steps:
@@ -24,14 +24,14 @@ steps:
|
|
|
|
|
script: |
|
|
|
|
- cd test-app |
|
|
|
|
- docker-compose restart |
|
|
|
|
# - name: notify |
|
|
|
|
# image: curlimages/curl:7.80.0 |
|
|
|
|
# environment: |
|
|
|
|
# GCHAT_WH: |
|
|
|
|
# from_secret: GCHAT_WH |
|
|
|
|
# commands: |
|
|
|
|
# - > |
|
|
|
|
# curl $GCHAT_WH |
|
|
|
|
# -X 'POST' |
|
|
|
|
# -H 'Content-type:application/json' |
|
|
|
|
# -d '{\"text\":\"This message is from Drone\"}' " |
|
|
|
|
- name: notify |
|
|
|
|
image: curlimages/curl:7.80.0 |
|
|
|
|
environment: |
|
|
|
|
GCHAT_WH: |
|
|
|
|
from_secret: GCHAT_WH |
|
|
|
|
commands: |
|
|
|
|
- > |
|
|
|
|
curl $GCHAT_WH |
|
|
|
|
-X 'POST' |
|
|
|
|
-H 'Content-type:application/json' |
|
|
|
|
-d '{\"text\":\"This message is from Drone\"}' " |
|
|
|
|