diff --git a/.drone.yml b/.drone.yml index af31d1f..703f6d1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -72,11 +72,10 @@ steps: - echo $REMOTE_URL - echo ok - curl -X POST "$ZULIP_HOST/api/v1/messages" -u "$ZULIP_USER:$ZULIP_TKN" --data-urlencode "type=stream" --data-urlencode "to=\"$ZULIP_STREAM\"" --data-urlencode "topic=$ZULIP_TOPIC" --data "content=$ZULIP_STATUS **[build %23${DRONE_BUILD_NUMBER}](${DRONE_BUILD_LINK})**%0A> **${DRONE_BUILD_EVENT}** event on **${DRONE_COMMIT_BRANCH}** branch *by* **${DRONE_COMMIT_AUTHOR}** ([$SHORT_COMMIT]($REMOTE_URL/commit/${DRONE_COMMIT}))%0A> $ZULIP_MESSAGE" - -trigger: - status: - - success - - failure + when: + status: + - failure + - success volumes: - name: deps