From 3c4d07a39cbc355e1cfd48c55a04913f3b9eee98 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Fri, 20 Jul 2018 12:11:13 +0200 Subject: [PATCH] Add rsync step to deploy blog --- .drone.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 11485bf..a6a9eaf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,16 @@ pipeline: - hugo: + build: image: cbrgm/drone-hugo:latest buildDrafts: true buildFuture: true buildExpired: true validate: true url: https://staging.vbrandl.net + deploy: + image: drillster/drone-rsync + hosts: [ "vbrandl.net" ] + target: /var/www/staging.vbrandl.net + source: public/drone-generated/* + user: hugo + secrets: [ rsync_key ] branches: develop