From cb1c47c44e24c530e2ac85a8fd48fdad5c09f359 Mon Sep 17 00:00:00 2001 From: Robert Marshall Date: Mon, 26 Aug 2019 17:04:44 +0100 Subject: [PATCH] Put in email notifications --- Infrastructure/.drone.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Infrastructure/.drone.yml b/Infrastructure/.drone.yml index 92b39b1..357799d 100644 --- a/Infrastructure/.drone.yml +++ b/Infrastructure/.drone.yml @@ -9,6 +9,14 @@ volumes: host: path: /var/www/Website +pipeline: + notify: + image: drillster/drone-email + host: 192.168.1.3 + from: build@robware.uk + when: + status: [ changed, failure ] + steps: - name: build and publish image: mcr.microsoft.com/dotnet/core/sdk:2.2 @@ -25,7 +33,6 @@ steps: - ./build.sh - sed -i "s//$ConnectionString/g" output/appsettings.json - cp Infrastructure/website.service output/ - - - cp -r ./output/* /output - name: restart service image: appleboy/drone-ssh