From c2e23a41792a900ac628671f7cad700b90c7666f Mon Sep 17 00:00:00 2001 From: mahdi Date: Thu, 14 Dec 2023 00:17:06 +0100 Subject: [PATCH] devops - drone test --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index deb02e1..07e7d8b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,7 +28,8 @@ steps: - name: notify image: pluie/alpine commands: - - 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_COMMIT_AUTHOR}":1:-1} > ${DRONE_BUILD_STATUS}" + - export msg=${DRONE_COMMIT_MESSAGE} + - 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:1:-1} <" volumes: - name: deps