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

38 lines
659 B
YAML
Raw Normal View History

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
2019-11-13 11:49:43 +00:00
# Extended With Version
2019-11-12 23:44:36 +00:00
- name: buildHugoExtended
image: plugins/hugo
settings:
2019-11-13 11:51:13 +00:00
hugo_version: 0.59.1
2019-11-13 11:49:43 +00:00
extended: true
2019-11-12 23:44:36 +00:00
pull: always
2019-11-12 23:20:46 +00:00
validate: true