From 20ba5212b4c45797c16cf8894a058bb3de2e3562 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 13 Jun 2018 01:03:06 +0200 Subject: [PATCH] drone: Added email notification --- .drone.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 73934a2..3638116 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,10 +3,10 @@ pipeline: image: debian:buster-slim pull: true commands: - - apt-get update - - apt-get install -y build-essential cmake pkg-config - - apt-get install -y libcurl4-openssl-dev libcurlpp-dev libjsoncpp-dev - - apt-get install -y rpm file + - apt-get update -q + - apt-get install -qy build-essential cmake pkg-config + - apt-get install -qy libcurl4-openssl-dev libcurlpp-dev libjsoncpp-dev + - apt-get install -qy rpm file - mkdir -p build && cd build - cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON .. - make VERBOSE=1 @@ -29,3 +29,10 @@ pipeline: - "mastodon-cpp-${DRONE_TAG}.ebuild" - "libmastodon-cpp_${DRONE_TAG}-0_amd64.deb" - "libmastodon-cpp-${DRONE_TAG}-0.x86_64.rpm" + notify: + image: drillster/drone-email + host: cryptoparty-celle.de + secrets: [ email_username, email_password ] + from: drone@tzend.de + when: + status: [ changed, failure ]