From 34981afe2e80f89530eaca3032760be515474a5e Mon Sep 17 00:00:00 2001
From: Pim van Pelt <pim@ipng.ch>
Date: Mon, 5 Aug 2024 18:00:51 +0200
Subject: [PATCH] Add rsync to the Drone CI

---
 .drone.yml | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/.drone.yml b/.drone.yml
index c6fc4a7..81420d6 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -13,21 +13,21 @@ steps:
     settings:
       hugo_version: 0.101.0
       extended: true
-#  - name: rsync
-#    image: drillster/drone-rsync
-#    settings:
-#      user: drone
-#      key:
-#        from_secret: drone_sshkey
-#      hosts:
-#        - nginx0.chrma0.net.ipng.ch
-#        - nginx0.chplo0.net.ipng.ch
-#        - nginx0.nlams1.net.ipng.ch
-#        - nginx0.nlams2.net.ipng.ch
-#      port: 22
-#      args: '-6'
-#      source: public/
-#      target: /var/www/ipng.ch/
-#      delete: true
-#      recursive: true
-#      secrets: [ drone_sshkey ]
+  - name: rsync
+    image: drillster/drone-rsync
+    settings:
+      user: drone
+      key:
+        from_secret: drone_sshkey
+      hosts:
+        - nginx0.chrma0.net.ipng.ch
+        - nginx0.chplo0.net.ipng.ch
+        - nginx0.nlams1.net.ipng.ch
+        - nginx0.nlams2.net.ipng.ch
+      port: 22
+      args: '-6'
+      source: public/
+      target: /var/www/ipng.ch/
+      delete: true
+      recursive: true
+      secrets: [ drone_sshkey ]