drone-hugo-extended-demo/.drone.yml

27 rindas
458 B
YAML

2019-11-12 23:20:46 +00:00
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
2019-11-12 23:23:33 +00:00
# Normal
2019-11-12 23:20:46 +00:00
- name: build
image: plugins/hugo
settings:
pull: always
validate: true
2019-11-12 23:23:33 +00:00
# Extended
2019-11-12 23:20:46 +00:00
- name: buildExtended
image: plugins/hugo
settings:
extended: true
pull: always
validate: true