From 841111aa9ff8364c966d9730b0e03a1540000cc2 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Mon, 29 Mar 2021 13:36:45 -0500 Subject: [PATCH] Tag notifications --- .drone.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.drone.yml b/.drone.yml index 27fc22a..2d9bc40 100644 --- a/.drone.yml +++ b/.drone.yml @@ -69,6 +69,23 @@ steps: event: exclude: - pull_request + - tag + + - name: send publish success notifications + image: plugins/webhook + settings: + urls: + from_secret: notify_webhook_url + content_type: application/json + template: | + { + "title": "Drone-CI [extollo/cli @ ${DRONE_BUILD_NUMBER}]", + "message": "Successfully published tag ${DRONE_TAG}.", + "priority": 4 + } + when: + status: success + event: tag - name: post build success comment to PR image: tsakidev/giteacomment:latest