Install Hugo 0.16 on the fly and use it
This commit is contained in:
parent
9069e3b015
commit
dcdc5b56c2
@ -1,4 +1,11 @@
|
|||||||
image: publysher/hugo
|
image: alpine:3.4
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- apk update && apk add openssl
|
||||||
|
- wget https://github.com/spf13/hugo/releases/download/v0.16/hugo_0.16_linux-64bit.tgz
|
||||||
|
- echo "37ee91ab3469afbf7602a091d466dfa5 hugo_0.16_linux-64bit.tgz" | md5sum -c
|
||||||
|
- tar xf hugo_0.16_linux-64bit.tgz && cp ./hugo /usr/bin
|
||||||
|
- hugo version
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
|
@ -27,7 +27,14 @@ This project's static Pages are built by [GitLab CI][ci], following the steps
|
|||||||
defined in [`.gitlab-ci.yml`](.gitlab-ci.yml):
|
defined in [`.gitlab-ci.yml`](.gitlab-ci.yml):
|
||||||
|
|
||||||
```
|
```
|
||||||
image: publysher/hugo
|
image: alpine:3.4
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- apk update && apk add openssl
|
||||||
|
- wget https://github.com/spf13/hugo/releases/download/v0.16/hugo_0.16_linux-64bit.tgz
|
||||||
|
- echo "37ee91ab3469afbf7602a091d466dfa5 hugo_0.16_linux-64bit.tgz" | md5sum -c
|
||||||
|
- tar xf hugo_0.16_linux-64bit.tgz && cp ./hugo /usr/bin
|
||||||
|
- hugo version
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
script:
|
script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user