diff --git a/.drone.yml b/.drone.yml index 3994059..9485e37 100644 --- a/.drone.yml +++ b/.drone.yml @@ -50,7 +50,7 @@ steps: - ssh -p21022 -o StrictHostKeyChecking=accept-new -i /root/.ssh/id_rsa.kubehost mtc@bosub-kub-int.metacoaching.pro "hostname" - name: notify - image: pluie/alpine + image: bash:4.4 environment: ZULIP_HOST: https://zulip.meta-tech.academy ZULIP_STREAM: gitea @@ -61,13 +61,14 @@ steps: ZULIP_TKN: from_secret: ZULIP_TOKEN commands: + - apk add --no-cache curl - if [ "${DRONE_BUILD_STATUS}" != "success" ]; then export ZULIP_STATUS=":prohibited:"; fi - - export ZULIP_MESSAGE=$(echo -n ${DRONE_COMMIT_MESSAGE}) + - export ZULIP_MESSAGE=$${DRONE_COMMIT_MESSAGE:-2}) - export SHORT_COMMIT=$${DRONE_COMMIT:0:7} - echo $SHORT_COMMIT - echo $ZULIP_STATUS - echo $ZULIP_MESSAGE - - bash -c "echo ok" + - echo ok volumes: - name: deps