drone-hugo-extended-demo/.drone.yml
Florian Brinker 3745cb1e49
Some checks failed
continuous-integration/drone/push Build is failing
Fix version
2019-11-13 12:51:13 +01:00

38 lines
659 B
YAML

kind: pipeline
name: default
clone:
disable: true
steps:
- name: clone
image: alpine/git
commands:
- git clone --recurse-submodules -j8 https://git.f-brinker.de/fbrinker/drone-hugo-extended-demo.git .
- git checkout $DRONE_COMMIT
# Normal
- name: build
failure: ignore
image: plugins/hugo
settings:
pull: always
validate: true
# Extended
- name: buildExtended
failure: ignore
image: plugins/hugo
settings:
extended: true
pull: always
validate: true
# Extended With Version
- name: buildHugoExtended
image: plugins/hugo
settings:
hugo_version: 0.59.1
extended: true
pull: always
validate: true