From f98cfb2f618a7659ccb59ed5657c246f5ddb364d Mon Sep 17 00:00:00 2001 From: mahdi Date: Thu, 14 Dec 2023 00:48:18 +0100 Subject: [PATCH] devops - drone test --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index c88f5e9..0c8449d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,8 +30,8 @@ steps: commands: - export msg=${DRONE_COMMIT_MESSAGE} - > - /bin/bash; curl -s -k -X POST https://zulip.meta-tech.academy/api/v1/messages -u drone-bot@zulip.meta-tech.academy:iIm8Hc2VuvK06iDxUODUIndlRu6As6bO --data-urlencode type=stream --data-urlencode 'to="gitea"' --data-urlencode topic=build --data-urlencode content="build n° ${DRONE_BUILD_NUMBER} - ${DRONE_REPO}/${DRONE_REPO_BRANCH}/${DRONE_COMMIT} by ${DRONE_COMMIT_AUTHOR} $DRONE_COMMIT_AUTHOR > ${DRONE_BUILD_STATUS} < - $${msg:0:-2}" + /bin/bash -c "curl -s -k -X POST https://zulip.meta-tech.academy/api/v1/messages -u drone-bot@zulip.meta-tech.academy:iIm8Hc2VuvK06iDxUODUIndlRu6As6bO --data-urlencode type=stream --data-urlencode 'to=\"gitea\"' --data-urlencode topic=build --data-urlencode content=\"build n° ${DRONE_BUILD_NUMBER} - ${DRONE_REPO}/${DRONE_REPO_BRANCH}/${DRONE_COMMIT} by ${DRONE_COMMIT_AUTHOR} $DRONE_COMMIT_AUTHOR > ${DRONE_BUILD_STATUS} < + $${msg:0:-2}\"" volumes: - name: deps