Skip to content
Snippets Groups Projects
Commit 3dbdaa64 authored by Eliott Sammier's avatar Eliott Sammier
Browse files

Add Gitlab-CI pipeline config

parent 87278c96
Branches
No related tags found
No related merge requests found
# From template at https://gitlab.com/pages/hugo
default:
image: "${CI_TEMPLATE_REGISTRY_HOST}/pages/hugo/hugo_extended:0.128.1"
variables:
GIT_SUBMODULE_STRATEGY: recursive # include Hugo themes
HUGO_ENV: production
test:
script:
- hugo
rules:
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
pages:
script:
- hugo
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
environment: production
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment