web-ansol.org/.gitlab-ci.yml

21 lines
405 B
YAML

# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry
image: monachus/hugo # recommended image by Hugo: https://gohugo.io/hosting-and-deployment/hosting-on-gitlab/#create-gitlab-ciyml
variables:
GIT_SUBMODULE_STRATEGY: recursive
test:
script:
- hugo
except:
- master
pages:
script:
- hugo
artifacts:
paths:
- public
only:
- master