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