From bb44325c272a65f5598e8e6cab21dbc9d5c5f0d9 Mon Sep 17 00:00:00 2001 From: Daryl Ronningen Date: Sat, 7 Aug 2021 16:42:56 -0700 Subject: [PATCH] ci: added discord webhook --- .drone.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.drone.yml b/.drone.yml index a4a7a91..7f4f7eb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -52,3 +52,17 @@ steps: - stable event: - push + + - name: discord-notification + image: appleboy/drone-discord + settings: + webhook_id: + from_secret: DISCORD_WEBHOOK_ID + webhook_token: + from_secret: DISCORD_WEBHOOK_TOKEN + message: > + {{#success build.status}} + Build {{build.number}} succeeded. + {{else}} + Build {{build.number}} failed. + {{/success}}