38 lines
659 B
YAML
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 |