From 2336be6086c280fed808d9309e252a6999db2136 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Sun, 21 Aug 2022 18:47:23 +0200 Subject: [PATCH] publish build with rsync --- .woodpecker.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 0cc0b73..82c9658 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,3 +6,15 @@ pipeline: commands: - make www - make onion + + publish: + image: drillster/drone-rsync + settings: + hosts: ["caladan"] + user: woodpecker + key: + from_secret: ssh_key + source: ./html/* + target: /srv/sites/frontpage + recursive: true + delete: true