From eeccfa928061a32e040151e21dd04b69eb6c51b4 Mon Sep 17 00:00:00 2001 From: Ricardo Carrasco Date: Mon, 26 Sep 2022 14:24:20 -0400 Subject: [PATCH] test gchat --- .drone.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6bac9f0..8b6ab5b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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'}' "