Move Hugo version to variable in CI
This commit is contained in:
parent
3fba603d5a
commit
d17b5f0d60
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user