Disable service step for now

This commit is contained in:
Robert Marshall 2019-08-26 17:19:18 +01:00
parent 2653e7f69b
commit 2c082cf4f6

View file

@ -27,18 +27,18 @@ steps:
- sed -i "s/<DatabaseConnectionString>/$ConnectionString/g" output/appsettings.json
- cp Infrastructure/website.service output/
- cp -r ./output/* /output
- name: restart service
privileged: true
image: appleboy/drone-ssh
settings:
host:
from_secret: SSHHost
username:
from_secret: SSHUsername
password:
from_secret: SSHPassword
script:
- service website restart
# - name: restart service
# privileged: true
# image: appleboy/drone-ssh
# settings:
# host:
# from_secret: SSHHost
# username:
# from_secret: SSHUsername
# password:
# from_secret: SSHPassword
# script:
# - service website restart
- name: notify
image: drillster/drone-email
settings: