Restart service step
This commit is contained in:
parent
0f64014b30
commit
12791ea8dc
1 changed files with 13 additions and 1 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue