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 GIT_STRATEGY: clone
10
11test:
12 script:
13 - hugo
14 except:
15 - master
16
17pages:
18 script:
19 - hugo
20 artifacts:
21 paths:
22 - public
23 only:
24 - master