dvb/.drone.yml
2018-10-10 15:20:17 +02:00

23 lines
412 B
YAML

pipeline:
copy:
image: appleboy/drone-scp
host: nicco.io
username: deploy
port: 1312
secrets: [ ssh_key ]
target: /srv/web/dvb
source: ./*
when:
event: push
branch: master
reload:
image: appleboy/drone-ssh
host: nicco.io
username: deploy
port: 1312
secrets: [ ssh_key ]
script:
- docker-compose down
- docker-compose up -d