tibi-types/.drone.yml

23 lines
377 B
YAML
Raw Permalink Normal View History

2022-01-24 16:19:52 +01:00
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}