Add update production on push
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b2c2ba5c42
commit
85150c2792
18
.drone.yml
18
.drone.yml
@ -21,3 +21,21 @@ steps:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry.deadbeef.codes/mandelmapper
|
||||
|
||||
- name: production
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 10.69.71.105
|
||||
port: 22
|
||||
username:
|
||||
from_secret: sshusername
|
||||
password:
|
||||
from_secret: sshpassword
|
||||
script:
|
||||
- echo Informing spud to pull latest container and infrastructure...
|
||||
- cd deadbeef.codes-infrastructure
|
||||
- git pull
|
||||
- docker-compose pull >/dev/null
|
||||
- echo Restarting updated services...
|
||||
- docker-compose up -d >/dev/null
|
||||
- echo Done.
|
Loading…
Reference in New Issue
Block a user