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
|
registry: registry.stuifzandapp.com
|
||||||
secrets: [ docker_username, docker_password ]
|
secrets: [ docker_username, docker_password ]
|
||||||
|
|
||||||
# deploy:
|
deploy:
|
||||||
# image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
# host: publog.stuifzandapp.com
|
host: hub.stuifzandapp.com
|
||||||
# username: publog
|
username: hub
|
||||||
# secrets: ['ssh_key']
|
secrets: ['ssh_key']
|
||||||
# script:
|
script:
|
||||||
# - cd /home/publog/publog
|
- cd /home/hub/hub
|
||||||
# - docker-compose pull
|
- docker-compose pull
|
||||||
# - docker-compose up -d
|
- docker-compose up -d
|
||||||
# when:
|
|
||||||
# event: deployment
|
|
||||||
# environment: production
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user