add email notification to ci failure
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sijmen 2022-08-07 18:32:27 +02:00
parent d1cdda90be
commit ab03a4f5ca
1 changed files with 11 additions and 0 deletions

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]