From 385402413d0ec21780dc934d053a874d140fb37f Mon Sep 17 00:00:00 2001 From: Alexandre MEYER <alexandre.meyer@univ-lyon1.fr> Date: Thu, 17 Nov 2022 10:48:59 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db0dabe..d56b9c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,15 +1,19 @@ -# This file is a template, and might need editing before it works on your project. -# Full project: https://gitlab.com/pages/plain-html +# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry +# image: forge.univ-lyon1.fr:4567/emmanuel.coquery/emmanuel.coquery.pages.univ-lyon1.fr/hugo:latest +image: harbor.pagoda.os.univ-lyon1.fr/ecoquery-hugo/hugo:latest + +variables: + GIT_SUBMODULE_STRATEGY: recursive + +test: + script: + - hugo + except: + - master + pages: - stage: deploy script: - - apt -y update && apt -y install python3-pip - - pip3 install mkdocs - - cd site-web - - export LC_ALL=C.UTF-8 - - export LANG=C.UTF-8 - - mkdocs build - - mv site ../public + - hugo artifacts: paths: - public -- GitLab