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

37 satır
625 B
YAML
Ham Normal Görünüm Geçmiş

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
2019-11-12 23:25:01 +00:00
failure: ignore
2019-11-12 23:20:46 +00:00
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
2019-11-12 23:44:36 +00:00
failure: ignore
2019-11-12 23:20:46 +00:00
image: plugins/hugo
settings:
extended: true
pull: always
2019-11-12 23:44:36 +00:00
validate: true
# Extended
- name: buildHugoExtended
image: plugins/hugo
settings:
hugoExtended: true
pull: always
2019-11-12 23:20:46 +00:00
validate: true