add CI notification
This commit is contained in:
parent
cca0447fb1
commit
0d99bfa601
14
.drone.yml
14
.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
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue