From 0d99bfa6016bc998be03722580f03a02f4305b2f Mon Sep 17 00:00:00 2001 From: Ritesh Chitlangi Date: Wed, 24 Nov 2021 19:37:36 +0800 Subject: [PATCH] add CI notification --- .drone.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.drone.yml b/.drone.yml index be6c04b..c3ac251 100644 --- a/.drone.yml +++ b/.drone.yml @@ -104,6 +104,17 @@ steps: - 0.3 event: push + - name: notify + image: drillster/drone-email + volumes: + - name: notify-env + path: /root/.notify-env + environment: + PLUGIN_ENV_FILE: /root/.notify-env + when: + status: + - failure + volumes: - name: ssh host: @@ -120,4 +131,7 @@ volumes: - name: cache host: path: /var/drone/cache/epp-client-cache + - name: notify-env + host: + path: /root/.notify-env ...