From 353c50475bc9f842528aed15990d2742646bf48c Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Fri, 29 May 2020 22:30:27 +0200 Subject: [PATCH] New hugo build command and destination of static output --- .drone.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index efdf2cb..18be719 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,10 +3,11 @@ name: default steps: - name: build - image: hugo + image: buster-slim commands: - wget https://github.com/gohugoio/hugo/releases/download/v0.62.1/hugo_0.62.1_Linux-64bit.deb -O hugo.deb - dpkg -i hugo.deb + - hugo --destination _site/ - name: docker image: plugins/docker @@ -19,10 +20,10 @@ steps: from_secret: DOCKER_PASSWORD tags: - "${DRONE_BUILD_NUMBER}" - - "latest" + - "hugo" when: branch: - - master + - new - name: notify image: plugins/matrix