Fix CI error (3)
This commit is contained in:
parent
9a1545eca4
commit
19376cdbb1
@ -1,13 +1,13 @@
|
|||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
HUGO_VERSION: 0.49.2
|
HUGO_ARCHIVE: https://github.com/gohugoio/hugo/releases/download/v0.49.2/hugo_0.49.2_Linux-64bit.tar.gz
|
||||||
|
|
||||||
build site:
|
build site:
|
||||||
stage: build
|
stage: build
|
||||||
before_script:
|
before_script:
|
||||||
- apk --no-cache add ca-certificates wget openssh-client
|
- apk --no-cache add ca-certificates wget openssh-client
|
||||||
- update-ca-certificates
|
- update-ca-certificates
|
||||||
- wget "https://github.com/gohugoio/hugo/releases/download/v$HUGO_VERSION/hugo_$HUGO_VERSION_Linux-64bit.tar.gz"
|
- wget $HUGO_ARCHIVE
|
||||||
- tar xf hugo_0.49.2_Linux-64bit.tar.gz -C /usr/local/bin
|
- tar xf hugo_0.49.2_Linux-64bit.tar.gz -C /usr/local/bin
|
||||||
script:
|
script:
|
||||||
- /usr/local/bin/hugo -d tango.hodakov.me
|
- /usr/local/bin/hugo -d tango.hodakov.me
|
||||||
|
Loading…
Reference in New Issue
Block a user