1

Move Hugo version to variable in CI

This commit is contained in:
Vladimir Hodakov 2018-10-28 22:24:24 +04:00
parent 3fba603d5a
commit d17b5f0d60
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6

View File

@ -1,15 +1,15 @@
variables:
GIT_SUBMODULE_STRATEGY: recursive
HUGO_VERSION: 0.49.2
build site:
stage: build
before_script:
- apk --no-cache add ca-certificates wget openssh-client
- update-ca-certificates
- wget https://github.com/gohugoio/hugo/releases/download/v0.49.2/hugo_0.49.2_Linux-64bit.tar.gz
- wget https://github.com/gohugoio/hugo/releases/download/v$HUGO_VERSION/hugo_$HUGO_VERSION_Linux-64bit.tar.gz
- tar xf hugo_0.49.2_Linux-64bit.tar.gz -C /usr/local/bin
script:
- find .
- /usr/local/bin/hugo -d tango.hodakov.me
artifacts:
untracked: true