drone: switch to new hugo plugin
All checks were successful
the build was successful

This commit is contained in:
Robert Kaussow 2018-12-20 10:49:51 +01:00
parent 4fad5dc77a
commit fcbbbf01f3

View File

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