drone: switch to new hugo plugin
the build was successful Details

This commit is contained in:
Robert Kaussow 2018-12-20 10:49:51 +01:00
parent 4fad5dc77a
commit fcbbbf01f3
1 changed files with 12 additions and 8 deletions

View File

@ -1,18 +1,22 @@
pipeline:
build-draft:
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
image: plugins/hugo
hugoVersion: 0.52
validate: true
buildDrafts: true
buildExpired: true
buildFuture: true
theme: geeklab
when:
branch: draft
event: push
build-prod:
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 -F --theme geeklab
image: plugins/hugo
hugoVersion: 0.52
validate: true
buildFuture: true
theme: geeklab
when:
branch: master
event: push