This commit is contained in:
parent
9dd0944af0
commit
ea40f22534
14
.drone.yml
14
.drone.yml
@ -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
|
||||||
|
Reference in New Issue
Block a user