2020-02-27 16:42:22 +01:00
|
|
|
kind: pipeline
|
2020-02-27 17:36:42 +01:00
|
|
|
type: docker
|
2020-02-27 23:34:34 +01:00
|
|
|
name: hugo_builder
|
2020-02-27 16:42:22 +01:00
|
|
|
|
|
|
|
steps:
|
2020-02-27 23:34:34 +01:00
|
|
|
- name: hugo-std
|
|
|
|
pull: if-not-exists
|
2020-02-27 16:42:22 +01:00
|
|
|
image: plugins/hugo
|
|
|
|
settings:
|
|
|
|
hugo_version: 0.65.3
|
2020-02-27 17:36:42 +01:00
|
|
|
validate: false
|
2020-02-27 16:58:14 +01:00
|
|
|
commands:
|
|
|
|
- git submodule init
|
|
|
|
- git submodule update
|
|
|
|
- hugo --gc=true
|
2020-02-27 23:34:34 +01:00
|
|
|
|
|
|
|
- name: hugo-extended
|
|
|
|
pull: if-not-exists
|
2020-02-27 23:40:35 +01:00
|
|
|
image: archlinux
|
2020-02-27 23:34:34 +01:00
|
|
|
commands:
|
|
|
|
- pacman -Syu --noconfirm wget tar
|
2020-02-27 23:51:51 +01:00
|
|
|
- wget https://github.com/gohugoio/hugo/releases/download/v0.65.3/hugo_extended_0.65.3_Linux-64bit.tar.gz -O hugo.tgz
|
|
|
|
- tar xfv hugo.tgz
|
2020-02-27 23:34:34 +01:00
|
|
|
- ./hugo --gc=true
|