add email notification to ci failure
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d1cdda90be
commit
ab03a4f5ca
1 changed files with 11 additions and 0 deletions
11
.drone.yml
11
.drone.yml
|
@ -11,3 +11,14 @@ steps:
|
||||||
- nix-channel --update
|
- nix-channel --update
|
||||||
- nix-build '<nixpkgs/nixos>' -j4 -A config.system.build.toplevel -I nixos-config=thinkpad/configuration.nix
|
- 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]
|
||||||
|
|
Loading…
Reference in a new issue