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