lorescape/.gitlab-ci.yml

24 lines
443 B
YAML
Raw Normal View History

2020-10-14 21:33:41 +00:00
# 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-10-14 21:33:41 +00:00
variables:
GIT_SUBMODULE_STRATEGY: recursive
test:
script:
- hugo
2020-10-14 21:33:41 +00:00
except:
2020-10-14 21:47:33 +00:00
- main
2020-10-14 21:33:41 +00:00
pages:
script:
- hugo --environment production
2020-10-14 21:33:41 +00:00
artifacts:
paths:
- public
2020-10-14 21:33:41 +00:00
only:
2020-10-14 21:47:33 +00:00
- main