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-extended
|
|
|
|
pull: if-not-exists
|
2020-02-27 23:40:35 +01:00
|
|
|
image: archlinux
|
2020-02-27 23:34:34 +01:00
|
|
|
commands:
|
2020-02-28 01:07:05 +01:00
|
|
|
- pacman -Syu --noconfirm wget tar git
|
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-28 00:17:25 +01:00
|
|
|
- git submodule init
|
|
|
|
- git submodule update
|
2020-02-27 23:34:34 +01:00
|
|
|
- ./hugo --gc=true
|