diff options
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 21 |
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 |