Update .gitlab-ci.yml

This commit is contained in:
Moe Poi ~ 2020-09-19 12:16:37 +00:00
parent 0a47766050
commit b8dfc754e4

View file

@ -1,23 +1,13 @@
# This file is a template, and might need editing before it works on your project. image: monachus/hugo
---
# All available Hugo versions are listed here:
# https://gitlab.com/pages/hugo/container_registry
image: registry.gitlab.com/pages/hugo:latest
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
test:
script:
- hugo
except:
- master
pages: pages:
script: script:
- hugo - hugo
artifacts: artifacts:
paths: paths:
- public - public
only: only:
- master - master