drone deployment

This commit is contained in:
cupcakearmy 2019-03-04 16:38:34 +01:00
parent fec02d06b4
commit 3df36af7f3

View File

@ -16,6 +16,10 @@ steps:
- name: copy - name: copy
image: appleboy/drone-scp image: appleboy/drone-scp
when:
event: push
branch: master
settings:
host: nicco.io host: nicco.io
username: root username: root
port: 1312 port: 1312
@ -25,12 +29,10 @@ steps:
- ./public - ./public
- ./docker-compose.yml - ./docker-compose.yml
- ./docker-compose.prod.yml - ./docker-compose.prod.yml
when:
event: push
branch: master
- name: run - name: run
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings:
host: nicco.io host: nicco.io
username: root username: root
port: 1312 port: 1312