From f85e031debb3be3f1ae6f5e48da23222fdaf5dfd Mon Sep 17 00:00:00 2001 From: kayomn Date: Sat, 19 Aug 2023 19:25:29 +0100 Subject: [PATCH] Add drone CI --- .drone.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..1543944 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,21 @@ +kind: pipeline +name: default + +steps: +- name: build + image: ghcr.io/getzola/zola:v0.17.2 + entrypoint: ["/bin/zola"] + command: ["build"] + +- name: deploy + image: drillster/drone-rsync + settings: + hosts: ["pizzawednes.day"] + user: site + source: public/* + target: /var/site/ + recursive: true + delete: true + environment: + RSYNC_KEY: + from_secret: rsync_key