From 6459f3939d452ae92f6676cb10c00c4cd8bb4ea8 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Fri, 1 Dec 2023 03:42:43 +0100 Subject: [PATCH] Update .drone.yml --- .drone.yml | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7741181..4bd619c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,10 +1,22 @@ ---- -kind: pipeline -name: default - -steps: - - name: build - image: ghcr.io/getzola/zola:v0.17.2 - entrypoint: ["/bin/zola"] - command: ["build"] - +--- +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: ["s3.fofrweb.com"] + user: drone + source: public/* + target: /srv/www/cz/pkmples/$branch/ + recursive: true + delete: true + environment: + RSYNC_KEY: + from_secret: rsync_private_key \ No newline at end of file