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