Move to prebuilt Hugo docker image
This commit is contained in:
parent
a4f94c72c7
commit
bd327ad951
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user