This commit is contained in:
parent
4fad5dc77a
commit
fcbbbf01f3
20
.drone.yml
20
.drone.yml
@ -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
|
||||||
|
Reference in New Issue
Block a user