added Hugo CI

This commit is contained in:
lafleur 2020-10-09 01:30:12 +02:00
parent d85b21c181
commit 1261a6e87c
1 changed files with 22 additions and 0 deletions

22
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,22 @@
# 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