Put in email notifications

This commit is contained in:
Robert Marshall 2019-08-26 17:04:44 +01:00
parent 12791ea8dc
commit cb1c47c44e

View file

@ -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/<DatabaseConnectionString>/$ConnectionString/g" output/appsettings.json
- cp Infrastructure/website.service output/
-
- cp -r ./output/* /output
- name: restart service
image: appleboy/drone-ssh