From b6b9694c4ab4764e4f2aa06ba5e5d8bf0e2ac631 Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Sun, 28 Jul 2024 11:33:05 +0200 Subject: [PATCH] Add rsync step --- .drone.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.drone.yml b/.drone.yml index 3d7ceef..8b2d0ad 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,3 +12,22 @@ steps: hugo_version: 0.79.0 extended: true validate: true + - name: rsync + image: drillster/drone-rsync + settings: + user: drone + key: + from_secret: drone_sshkey + hosts: + - nginx0.nlams1.net.ipng.ch + - nginx0.nlams2.net.ipng.ch + - nginx0.chrma0.net.ipng.ch + - nginx0.chplo0.net.ipng.ch + port: 22 + args: '-6' + source: public/ + target: /var/www/sabbatical.ipng.nl/ + delete: true + recursive: true + secrets: [ drone_sshkey ] +