Add gitlab-ci to enable Pages
This commit is contained in:
parent
fff89538f6
commit
9f45919306
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#
|
||||||
|
# All available Hugo versions are listed under https://gitlab.com/pages/hugo/container_registry.
|
||||||
|
#
|
||||||
|
image: registry.gitlab.com/pages/hugo/hugo:latest
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- git submodule init
|
||||||
|
- git submodule update
|
||||||
|
|
||||||
|
pages:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- hugo
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
Loading…
Reference in New Issue
Block a user