1

Move to prebuilt Hugo docker image

This commit is contained in:
Vladimir Hodakov 2019-02-10 15:33:35 +04:00
parent a4f94c72c7
commit bd327ad951
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6

View File

@ -1,16 +1,12 @@
image: lab.wtfteam.pro:4567/containers/hugo:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
HUGO_ARCHIVE: https://github.com/gohugoio/hugo/releases/download/v0.54.0/hugo_0.54.0_Linux-64bit.tar.gz
build site:
stage: build
before_script:
- apk --no-cache add ca-certificates wget openssh-client
- update-ca-certificates
- wget $HUGO_ARCHIVE
- tar xf hugo_0.54.0_Linux-64bit.tar.gz -C /usr/local/bin
script:
- /usr/local/bin/hugo -d tango.hodakov.me
- hugo -d tango.hodakov.me
artifacts:
untracked: true
expire_in: 4 hours