add CI notification

This commit is contained in:
Ritesh Chitlangi 2021-11-24 19:37:36 +08:00
parent cca0447fb1
commit 0d99bfa601
1 changed files with 14 additions and 0 deletions

View File

@ -104,6 +104,17 @@ steps:
- 0.3 - 0.3
event: push 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: volumes:
- name: ssh - name: ssh
host: host:
@ -120,4 +131,7 @@ volumes:
- name: cache - name: cache
host: host:
path: /var/drone/cache/epp-client-cache path: /var/drone/cache/epp-client-cache
- name: notify-env
host:
path: /root/.notify-env
... ...