Add email notify
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sainnhe Park 2022-10-27 17:48:55 +08:00
parent a5cee7d64c
commit f1981bec4f

View File

@ -15,3 +15,24 @@ steps:
- cmake .
- make -j$(nproc)
- ctest
- name: notify
image: drillster/drone-email
when:
status:
- failure
settings:
from.address:
from_secret: EMAIL_ADDRESS
from.name:
from_secret: EMAIL_SENDER
host:
from_secret: EMAIL_HOST
port:
from_secret: EMAIL_PORT
username:
from_secret: EMAIL_USERNAME
password:
from_secret: EMAIL_PASSWORD
no_starttls: true
recipients:
- i@sainnhe.dev