From dd88246d862d1f7441df3890bdeaedab0491bce2 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Thu, 13 May 2021 13:49:41 -0700 Subject: [PATCH] Add drone configs --- .drone.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..761b0a5 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,32 @@ +--- +kind: pipeline +name: test + +steps: + + - name: check + image: iamthefij/drone-pre-commit:personal + +--- +kind: pipeline +name: notify + +depends_on: + - test + +trigger: + status: + - failure + +steps: + + - name: notify + image: drillster/drone-email + settings: + host: + from_secret: SMTP_HOST # pragma: whitelist secret + username: + from_secret: SMTP_USER # pragma: whitelist secret + password: + from_secret: SMTP_PASS # pragma: whitelist secret + from: drone@iamthefij.com