adds gitlab ci for site

This commit is contained in:
Gustavo Silva 2020-06-11 12:57:03 +01:00
parent 8c39570e0f
commit ee8c553d41
No known key found for this signature in database
GPG Key ID: 08551320BC3EDC50
1 changed files with 20 additions and 0 deletions

20
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,20 @@
# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry
image: registry.gitlab.com/pages/hugo:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
test:
script:
- hugo
except:
- master
pages:
script:
- hugo
artifacts:
paths:
- public
only:
- master