Merge branch 'update' into 'master'
update Readme See merge request !14
This commit is contained in:
commit
9b0d718a6e
16
README.md
16
README.md
@ -27,17 +27,23 @@ 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: alpine:3.4
|
image: alpine:3.5
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apk update && apk add openssl
|
- apk update && apk add openssl
|
||||||
- wget https://github.com/spf13/hugo/releases/download/v0.16/hugo_0.16_linux-64bit.tgz
|
- wget https://github.com/spf13/hugo/releases/download/v0.18.1/hugo_0.18.1_Linux-64bit.tar.gz
|
||||||
- echo "37ee91ab3469afbf7602a091d466dfa5 hugo_0.16_linux-64bit.tgz" | md5sum -c
|
- echo "e8ba723c508e87912970f132534c64dc hugo_0.18.1_Linux-64bit.tar.gz" | md5sum -c
|
||||||
- tar xf hugo_0.16_linux-64bit.tgz && cp ./hugo /usr/bin
|
- tar xf hugo_0.18.1_Linux-64bit.tar.gz --strip-components=1 && mv hugo_0.18.1_linux_amd64 hugo && cp ./hugo /usr/bin
|
||||||
- hugo version
|
- hugo version
|
||||||
# Uncomment the next line if your theme is in a git submodule
|
# Uncomment the next line if your theme is in a git submodule
|
||||||
#- git submodule update --init
|
#- git submodule update --init
|
||||||
|
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- hugo
|
||||||
|
except:
|
||||||
|
- master
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
script:
|
script:
|
||||||
- hugo
|
- hugo
|
||||||
@ -74,7 +80,7 @@ project's **Settings**.
|
|||||||
|
|
||||||
You'll need to configure your site too: change this line
|
You'll need to configure your site too: change this line
|
||||||
in your `config.toml`, from `"https://pages.gitlab.io/hugo/"` to `baseurl = "https://namespace.gitlab.io"`.
|
in your `config.toml`, from `"https://pages.gitlab.io/hugo/"` to `baseurl = "https://namespace.gitlab.io"`.
|
||||||
Proceed equaly if you are using a [custom domain][post]: `baseurl = "http(s)://example.com"`.
|
Proceed equaly if you are using a [custom domain][post]: `baseurl = "http(s)://example.com"`.
|
||||||
|
|
||||||
Read more about [user/group Pages][userpages] and [project Pages][projpages].
|
Read more about [user/group Pages][userpages] and [project Pages][projpages].
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user