From 00816394686566acdc7273d7fbaa50d899fa6dd5 Mon Sep 17 00:00:00 2001 From: mahdi Date: Thu, 14 Dec 2023 23:46:49 +0100 Subject: [PATCH] devops - drone test --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 06f73df..794a6a2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -71,7 +71,7 @@ steps: - echo $ZULIP_MESSAGE - 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}" + - 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" volumes: - name: deps