drone: switch to alpine with downloaded hugo
Some checks failed
the build failed

This commit is contained in:
Robert Kaussow 2018-12-20 10:14:05 +01:00
parent 9dd0944af0
commit ea40f22534

View File

@ -1,11 +1,9 @@
pipeline: pipeline:
build-draft: build-draft:
image: cbrgm/drone-hugo:latest image: alpine
hugoVersion: 0.52 commands:
validate: true - wget https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.tar.gz -q -O - | tar -xz
buildDrafts: true - ./hugo -D -E -F --theme geeklab
buildExpired: true
buildFuture: true
theme: geeklab theme: geeklab
when: when:
branch: draft branch: draft
@ -14,8 +12,8 @@ pipeline:
build-prod: build-prod:
image: alpine image: alpine
commands: commands:
- wget https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.tar.gz -O - | tar -xz - wget https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.tar.gz -q -O - | tar -xz
- ./hugo version - ./hugo -F --theme geeklab
when: when:
branch: master branch: master
event: push event: push