|
|
|
@ -14,12 +14,9 @@ steps:
@@ -14,12 +14,9 @@ steps:
|
|
|
|
|
- "npm test -- --watchAll=false" |
|
|
|
|
- "npm test -- --watchAll=false" |
|
|
|
|
- name: notify |
|
|
|
|
image: pelotech/drone-google-chat |
|
|
|
|
settings: |
|
|
|
|
webhook: https://chat.googleapis.com/v1/spaces/AAAAA93iO2I/messages |
|
|
|
|
key: |
|
|
|
|
from_secret: GCHAT_KEY |
|
|
|
|
token: |
|
|
|
|
from_secret: GCHAT_TOKEN |
|
|
|
|
template: "Test" |
|
|
|
|
# https://chat.googleapis.com/v1/spaces/AAAAA93iO2I/messages |
|
|
|
|
image: alpine:3 |
|
|
|
|
environment: |
|
|
|
|
GCHAT_WH: |
|
|
|
|
from_secret: GCHAT_WH |
|
|
|
|
commands: |
|
|
|
|
- "curl -X 'POST' '$GCHAT_WH' -H 'Content-type:application/json' -d '{'text':'Drone says hello'}' " |
|
|
|
|