From bedbfb17ecb6d1018a87bc4a097dfcae141ff55b Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Mon, 6 Mar 2023 20:15:41 +0100 Subject: [PATCH] Update Hugo on drone build --- .drone.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 486e0d5..74d0372 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,10 +7,10 @@ steps: commands: - apt-get update; apt-get upgrade -y - apt-get install -y wget git - - wget https://github.com/gohugoio/hugo/releases/download/v0.80.0/hugo_extended_0.80.0_Linux-64bit.deb -O hugo.deb + - wget https://github.com/gohugoio/hugo/releases/download/v0.111.2/hugo_extended_0.111.2_linux-amd64.deb -O hugo.deb - dpkg -i hugo.deb - hugo --destination _site/ - + - name: docker image: plugins/docker settings: @@ -20,12 +20,15 @@ steps: from_secret: DOCKER_USERNAME password: from_secret: DOCKER_PASSWORD - tags: + tags: - "${DRONE_BUILD_NUMBER}" - "hugo" when: branch: - new + event: + exclude: + - pull_request - name: notify image: plugins/matrix