1# This file is a template, and might need editing before it works on your project.
2---
3# All available Hugo versions are listed here:
4# https://gitlab.com/pages/hugo/container_registry
5image: registry.gitlab.com/pages/hugo:latest
6
7variables:
8 GIT_SUBMODULE_STRATEGY: recursive
9
10test:
11 script:
12 - hugo
13 except:
14 - master
15
16pages:
17 script:
18 - hugo
19 artifacts:
20 paths:
21 - public
22 only:
23 - master