25 lines
438 B
YAML
25 lines
438 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
|
|
|
|
- name: build
|
|
image: plugins/hugo
|
|
settings:
|
|
pull: always
|
|
validate: true
|
|
|
|
- name: buildExtended
|
|
image: plugins/hugo
|
|
settings:
|
|
extended: true
|
|
pull: always
|
|
validate: true |