moepoi-blog/.gitlab-ci.yml

24 lines
432 B
YAML
Raw Normal View History

# This file is a template, and might need editing before it works on your project.
---
# All available Hugo versions are listed here:
# https://gitlab.com/pages/hugo/container_registry
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
2020-09-19 14:11:34 +02:00
variables:
GIT_SUBMODULE_STRATEGY: recursive
test:
script:
- hugo
except:
- master
2020-09-19 14:11:34 +02:00
pages:
script:
- hugo
2020-09-19 14:11:34 +02:00
artifacts:
paths:
- public
2020-09-19 14:11:34 +02:00
only:
- master