diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 31e2661a1b3b33ccc87cdfc40c0bb5de34653346..3d1de42814ea7211efdc086a2aa609f1b67e4506 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,22 +1,12 @@
-variables:
-  DOCKER_DRIVER: overlay2 # for speed up
 pages:
   image: mrnonz/alpine-git-curl:alpine3.16
   script:
-    # get gm
-    - curl -sL https://github.com/kpym/gm/releases/download/v0.12.0/gm_0.12.0_Linux_64bit.tar.gz | tar -zxvf - gm
-    # protect gm to be copied in public (no dot files are copied)
-    - mv gm .gm
-    # fetch all branches and tags
-    - git fetch --all --tags
+    # récupération de gm
+    - wget -c https://github.com/kpym/gm/releases/download/v0.16.0/gm_0.16.0_Linux_64bit.tar.gz -O - | tar -C /usr/local/bin -xz gm
     # ---------------------------------------- 2023
-    # make public (artifacts) folder
-    - mkdir public/$YEAR
-    # generate index.html from README.md
-    - ./.gm -qc jasonm23-foghorn -t M1Analyse stdin <README.md >public/$YEAR/index.html
-    # move all sources to public/$YEAR (artifacts)
-    - find . -mindepth 1 -maxdepth 1 ! -name 'public' ! -name '.*'
-    - find . -mindepth 1 -maxdepth 1 ! -name 'public' ! -name '.*' -exec mv -t public/$YEAR/ {} +
+    # - git checkout v2023
+    # - YEAR=2023
+    - gm --pages --out-dir public/$YEAR '**/*'
   artifacts:
     paths:
       - public