From 5e6d97ab3602b12537e591ea0b27f5850b94ad47 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 29 Feb 2020 23:13:59 -0800 Subject: [PATCH] Add drone fix 15/?: try to control Hugo through environment variable --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index d57e5f2..3a7fd85 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,14 +16,15 @@ steps: - name: build-live image: klakegg/hugo:ext-alpine commands: - - unset HUGO_DESTINATION - - hugo -D --baseUrl "http://danilafe.com:8080" --destination /live-output + - hugo -D --baseUrl "http://danilafe.com:8080" - ls -la - ls -la /live-output - ls -la /target volumes: - name: live-output path: /live-output + environment: + HUGO_DESTINATION: /live-output - name: upload-live image: eeacms/rsync commands: