From 6a4fc2d15141cd922327267e376302f65a3bb277 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sat, 9 Mar 2024 00:25:48 -0700 Subject: rsync --- .drone.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .drone.yml (limited to '.drone.yml') diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e821334 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,21 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: build + image: alpine + commands: + - sh compile.sh + - apk add rsync openssh + - sh deploy.sh + environment: + RSYNC_DESTINATION: + from_secret: RSYNC_DESTINATION + SSH_KEY: + from_secret: SSH_KEY + +trigger: + branch: + - main -- cgit v1.2.3-70-g09d2