From 0aec4574f3b3ff36d21edb34864de1e3ee8c2937 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 20 Dec 2018 08:40:25 +0100 Subject: [PATCH] drone: strip fist path of source folder --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index dbce4e4..2bc005f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,10 +20,10 @@ pipeline: publish: image: appleboy/drone-scp - host: machholz.uberspace.de source: public/* target: /var/www/virtual/geeklab/html/geeklabor.de/ - secrets: [ ssh_username, ssh_key ] + secrets: [ ssh_host, ssh_username, ssh_key ] + strip_components: 1 when: branch: master event: push