add email notification to ci failure
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sijmen 2022-08-07 18:32:27 +02:00
parent d1cdda90be
commit ab03a4f5ca

View file

@ -11,3 +11,14 @@ steps:
- nix-channel --update
- nix-build '<nixpkgs/nixos>' -j4 -A config.system.build.toplevel -I nixos-config=thinkpad/configuration.nix
- name: notify
image: drillster/drone-email
settings:
host: smtp.soverin.net
username:
from_secret: email_username
password:
from_secret: email_password
from: drone@sijman.nl
when:
status: [failure]