From 2b06075c86c4db8bc5b2ce3991f8f2517f4e6a6c Mon Sep 17 00:00:00 2001
From: Eric Casellas <eric.casellas@inrae.fr>
Date: Wed, 8 Jan 2025 11:30:01 +0100
Subject: [PATCH] ci tags availability better fix

---
 .gitlab-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index daacdae..d7da175 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -105,13 +105,12 @@ pages:
   stage: deploy
   image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/python:${PYTHON_TAG}
   variables:
-    GIT_DEPTH: 2147483647
+    GIT_DEPTH: 0
   script:
   - |
     apt-get update && \
     apt-get install --no-install-recommends --no-install-suggests -y -V git && \
     pip install -U sphinx sphinx_rtd_theme myst_parser sphinx-multiversion gitpython && \
-    git fetch --tags && \
     git  tag && \
     sphinx-multiversion docs/source public 
   - |
-- 
GitLab