From b7df856281a0e22e32f9bdd7587019bd0b412771 Mon Sep 17 00:00:00 2001
From: Dominique Benielli <dominique.benielli@lis-lab.fr>
Date: Thu, 12 Mar 2020 15:37:28 +0100
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 34 ++++++++++++++++++++--------------
 1 file changed, 20 insertions(+), 14 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9604191..94a7d77 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,22 +21,28 @@ doc:
     script:
         - export LC_ALL=$(locale -a | grep en_US)
         - export LANG=$(locale -a | grep en_US)
+        - python3 setup.py install
         - python3 setup.py build_sphinx
+    artifacts:
+        paths:
+          - public
+
+#        - python3 setup.py build_sphinx
 
 # TODO: Replace the task doc by the following task pages when making the
 # project public
 #
-#pages:
-#    image: registry.gitlab.lis-lab.fr:5005/dev/multimodal/ubuntu:18.04
-#    tags:
-#        - docker
-#    only:
-#        - master
-#    script:
-#        - export LC_ALL=$(locale -a | grep en_US)
-#        - export LANG=$(locale -a | grep en_US)
-#        - python3 setup.py build_sphinx
-#        - cp -r build/sphinx/html public
-#    artifacts:
-#        paths:
-#            - public
+pages:
+    image: registry.gitlab.lis-lab.fr:5005/dev/multimodal/ubuntu:18.04
+    tags:
+        - docker
+    only:
+        - master
+    script:
+        - export LC_ALL=$(locale -a | grep en_US)
+        - export LANG=$(locale -a | grep en_US)
+        - python3 setup.py build_sphinx
+        - cp -r build/sphinx/html public
+    artifacts:
+        paths:
+          - public
-- 
GitLab