This commit is contained in:
parent
2c97d68f90
commit
005c903a4d
22
.drone.yml
Normal file
22
.drone.yml
Normal file
@ -0,0 +1,22 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: copy config
|
||||
image: instrumentisto/rsync-ssh
|
||||
volumes:
|
||||
- name: data
|
||||
path: /data
|
||||
commands:
|
||||
- rsync -av demo-api /data/
|
||||
when:
|
||||
branch:
|
||||
- dev
|
||||
event: [ push ]
|
||||
|
||||
|
||||
volumes:
|
||||
- name: data
|
||||
host:
|
||||
path: /data/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/${DRONE_BRANCH}
|
Loading…
Reference in New Issue
Block a user