Adapt GitLab pages Hugo example CI file
This commit is contained in:
parent
799e1d41f2
commit
d0f5d5e28b
1 changed files with 20 additions and 0 deletions
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
image: registry.gitlab.com/pages/hugo:latest
|
||||||
|
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- hugo
|
||||||
|
except:
|
||||||
|
- main
|
||||||
|
|
||||||
|
pages:
|
||||||
|
script:
|
||||||
|
- hugo
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- web/public
|
||||||
|
only:
|
||||||
|
- main
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue