16 lines
389 B
YAML
16 lines
389 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: hugo_builder
|
||
|
|
||
|
steps:
|
||
|
- name: hugo-extended
|
||
|
pull: if-not-exists
|
||
|
image: archlinux
|
||
|
commands:
|
||
|
- pacman -Syu --noconfirm wget tar
|
||
|
- 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
|
||
|
- git submodule init
|
||
|
- git submodule update
|
||
|
- ./hugo --gc=true
|