Adapt GitLab pages Hugo example CI file

This commit is contained in:
benjamin melançon 2020-03-18 09:17:53 -04:00
parent 799e1d41f2
commit d0f5d5e28b

20
.gitlab-ci.yml Normal file
View 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