Put in email notifications
This commit is contained in:
parent
12791ea8dc
commit
cb1c47c44e
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue