Restart service step

This commit is contained in:
Robert Marshall 2019-08-26 15:26:53 +01:00
parent 0f64014b30
commit 12791ea8dc

View file

@ -25,4 +25,16 @@ steps:
- ./build.sh
- sed -i "s/<DatabaseConnectionString>/$ConnectionString/g" output/appsettings.json
- cp Infrastructure/website.service output/
- cp -r ./output/* /output
-
- cp -r ./output/* /output
- name: restart service
image: appleboy/drone-ssh
settings:
host:
from_secret: SSHHost
username:
from_secret: SSHUsername
password:
from_secret: SSHPassword
script:
- service website restart