From ab03a4f5cadfef13ec472ccab3adec9a6a9ba0cd Mon Sep 17 00:00:00 2001 From: Sijmen Date: Sun, 7 Aug 2022 18:32:27 +0200 Subject: [PATCH] add email notification to ci failure --- .drone.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.drone.yml b/.drone.yml index 3e60546..d00c2f0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,3 +11,14 @@ steps: - nix-channel --update - nix-build '' -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]