From 005c903a4da82aafc26a104cdc015af6f311fa7b Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Mon, 24 Jan 2022 16:19:52 +0100 Subject: [PATCH] dev test --- .drone.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a1ae82e --- /dev/null +++ b/.drone.yml @@ -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}