Merge branch 'install-hugo' into 'master'

Install Hugo 0.16 on the fly and use it



See merge request !7
This commit is contained in:
Achilleas Pipinellis 2016-08-04 15:01:40 +00:00
commit 85f5d9a895
2 changed files with 17 additions and 3 deletions

View File

@ -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:

View File

@ -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: