From b67f580605336f12e5a31f364a73894fc73b598e Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sun, 6 Jun 2021 16:18:43 +0200 Subject: [PATCH] Init Drone CI, upload files to server --- .drone.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..85c7555 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,20 @@ +kind: pipeline +type: docker +name: default +steps: + - name: publish + when: + branch: + - main + image: appleboy/drone-scp + repo: pub-solar/pub.solar + settings: + host: pub.solar + port: 2020 + username: + from_secret: ps_ssh_user + key: + from_secret: ps_ssh_key + source: ./* + target: /data/www/pub.solar/ + rm: true