commit da55f31755481c16a92f5f0ff6271c66f828aa09
parent 4d84c93ff7e54d8fa515eef82bd35e75ee71e4c6
Author: Vincent Demeester <vincent@sbr.pm>
Date: Sun, 10 May 2020 13:32:27 +0200
builds: add email action in case of failure
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/.builds/fedora.yml b/.builds/fedora.yml
@@ -4,3 +4,7 @@ sources:
tasks:
- hello: |
echo "do something with fedora at some point"
+triggers:
+- action: email
+ condition: failure
+ to: vincent@sbr.pm
diff --git a/.builds/nixos.yml b/.builds/nixos.yml
@@ -13,3 +13,7 @@ tasks:
cachix use shortbrain
nix-build home/ci.nix -A cacheOutputs | cachix push shortbrain
curl -XPOST "https://nur-update.herokuapp.com/update?repo=vdemeester"
+triggers:
+- action: email
+ condition: failure
+ to: vincent@sbr.pm