From 1dca7e0222c2ede9433642e41fadf8ae57c88ebe Mon Sep 17 00:00:00 2001 From: mahdi Date: Wed, 13 Dec 2023 22:31:33 +0100 Subject: [PATCH] devops - drone test --- .drone.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.drone.yml b/.drone.yml index 5be51d2..165da20 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,6 +25,17 @@ steps: commands: - go build ./... +- name: notify + image: pluie/alpine + commands: + - > + curl -sSX GET -G 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 commit {{build.commit}}" + volumes: - name: deps temp: {} \ No newline at end of file