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