From a879ba59ffb907bc2e43f0074460c87ce6550dfa Mon Sep 17 00:00:00 2001 From: mahdi Date: Thu, 14 Dec 2023 00:50:26 +0100 Subject: [PATCH] devops - drone test --- .drone.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0c8449d..3334e02 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,9 +30,7 @@ steps: commands: - export msg=${DRONE_COMMIT_MESSAGE} - > - /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}\"" - + /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_BUILD_STATUS} < $${msg:0:10}...\"" volumes: - name: deps temp: {} \ No newline at end of file