summaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml21
1 files changed, 21 insertions, 0 deletions
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