Disable service step for now
This commit is contained in:
parent
2653e7f69b
commit
2c082cf4f6
1 changed files with 12 additions and 12 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue