.gitlab-ci.yml 449 Bytes
Newer Older
René Benner's avatar
René Benner committed
1 2 3 4 5 6
image: google/cloud-sdk:206.0.0-alpine
# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry
# image: registry.gitlab.com/pages/hugo:latest
test-pages:
  image: registry.gitlab.com/pages/hugo:latest
  script:
René Benner's avatar
René Benner committed
7
  - rm LICENSE
René Benner's avatar
René Benner committed
8
  - hugo -c .
René Benner's avatar
René Benner committed
9 10 11 12 13
  except:
  - master
pages:
  image: registry.gitlab.com/pages/hugo:latest
  script:
René Benner's avatar
René Benner committed
14
  - rm LICENSE
René Benner's avatar
René Benner committed
15
  - hugo -c .
René Benner's avatar
René Benner committed
16 17 18 19 20
  artifacts:
    paths:
    - public
  only:
  - master