From ea40f2253457d58a6bf79e298867c2c5d22d150a Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 20 Dec 2018 10:14:05 +0100 Subject: [PATCH] drone: switch to alpine with downloaded hugo --- .drone.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1c509da..55d100d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,11 +1,9 @@ pipeline: build-draft: - image: cbrgm/drone-hugo:latest - hugoVersion: 0.52 - validate: true - buildDrafts: true - buildExpired: true - buildFuture: true + image: alpine + commands: + - wget https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.tar.gz -q -O - | tar -xz + - ./hugo -D -E -F --theme geeklab theme: geeklab when: branch: draft @@ -14,8 +12,8 @@ pipeline: build-prod: image: alpine commands: - - wget https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.tar.gz -O - | tar -xz - - ./hugo version + - wget https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.tar.gz -q -O - | tar -xz + - ./hugo -F --theme geeklab when: branch: master event: push