aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 3076f29ddcd83b931c4528262a758f84d2f1347b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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:latest

variables:
  GIT_SUBMODULE_STRATEGY: recursive
  GIT_STRATEGY: clone

test:
  script:
    - hugo --minify
  except:
    - master

pages:
  script:
    - hugo
  artifacts:
    paths:
      - public
  only:
    - master