diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db0dabea7ca7a1b51cd2ca3356e9cb3b32259184..716818cd2a55c1241e42ff11a3c715c1d5b1d747 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,15 +1,28 @@ -# 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 + 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 + - pwd + - ls + - ls .. + - mkdir -p ../public + - mkdir -p public + - echo toto > ../public/index.html + - echo toto > public/index.html + - ls ../public + - ls public + - cd web + - hugo -D + - ls + - pwd + - mv public ../public/m1if37 + - ls ../public artifacts: paths: - public