Add auto deployment
This commit is contained in:
parent
0f55fb2305
commit
0e080dd0a2
21
.drone.yml
21
.drone.yml
|
@ -11,15 +11,12 @@ pipeline:
|
|||
registry: registry.stuifzandapp.com
|
||||
secrets: [ docker_username, docker_password ]
|
||||
|
||||
# deploy:
|
||||
# image: appleboy/drone-ssh
|
||||
# host: publog.stuifzandapp.com
|
||||
# username: publog
|
||||
# secrets: ['ssh_key']
|
||||
# script:
|
||||
# - cd /home/publog/publog
|
||||
# - docker-compose pull
|
||||
# - docker-compose up -d
|
||||
# when:
|
||||
# event: deployment
|
||||
# environment: production
|
||||
deploy:
|
||||
image: appleboy/drone-ssh
|
||||
host: hub.stuifzandapp.com
|
||||
username: hub
|
||||
secrets: ['ssh_key']
|
||||
script:
|
||||
- cd /home/hub/hub
|
||||
- docker-compose pull
|
||||
- docker-compose up -d
|
||||
|
|
Loading…
Reference in New Issue
Block a user