From 28c6b606f8541245ed85fb5ce9db10a50bb9c2f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franck=20P=C3=A9rignon?=
 <franck.perignon@univ-grenoble-alpes.fr>
Date: Thu, 4 Nov 2021 14:29:37 +0100
Subject: [PATCH] yml and sphinx to build an empty rtd website

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7ce04fc..75edd9a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,13 +37,14 @@ ubuntu20.4-doc:docker-build:
 # --- Build doc/web site and publish it ---
 doc:build:
   stage: doc-build
-  variables:
-    IMAGE_NAME: $CI_REGISTRY_IMAGE/ubuntu20.04-doc
+  image: $CI_REGISTRY_IMAGE/ubuntu20.04-doc
   script:
     - sphinx-build -b html -d build/doctrees docs/ build
   artifacts:
     paths:
       - build/
+    expire_in: 2 days
+  
 pages:
 
   image: python:alpine
-- 
GitLab