From 1814060f97906dd3b79f8f11261c262129012165 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 15 Jul 2020 17:09:03 +0200 Subject: [PATCH] ci: build: remove full path to build --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index f684ff5..2ba7487 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,15 +14,15 @@ steps: image: klakegg/hugo commands: - hugo version - - hugo --destination /drone/src/build --minify + - hugo --minify environment: HUGO_ENV: production - name: deploy image: appleboy/drone-scp settings: - source: /drone/src/build/* - strip_components: 3 # Make sure the tarball doesn't contain leading path + source: public/* + strip_components: 1 # Make sure the tarball doesn't contain leading path rm: true # Make sure only the newly generated files are left host: from_secret: ssh_host