From a55ba0722b2b101a66f842e84ddabe2733748874 Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Wed, 26 Feb 2020 20:33:06 +0100
Subject: [PATCH] Fix docs

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bb5553d..88998f8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,7 +57,7 @@ test-jpp-12.1.0:
     script:
         - *virtualenv_definition
         - mkdir -p pdfs
-        - JMakePDF.sh -W $(pwd)/pdfs -w http://pi1139.physik.uni-erlangen.de/data/latest/ -C
+        - [ ! -d "pdfs" ] && mkdir pdfs && JMakePDF.sh -W $(pwd)/pdfs -w http://pi1139.physik.uni-erlangen.de/data/latest/ -C
         - pip install -U pytest
         - pytest
     cache:
@@ -69,8 +69,7 @@ test-jpp-latest:
     stage: test
     script:
         - *virtualenv_definition
-        - mkdir -p pdfs
-        - JMakePDF.sh -W $(pwd)/pdfs -w http://pi1139.physik.uni-erlangen.de/data/latest/ -C
+        - [ ! -d "pdfs" ] && mkdir pdfs && JMakePDF.sh -W $(pwd)/pdfs -w http://pi1139.physik.uni-erlangen.de/data/latest/ -C
         - pip install -U pytest
         - pytest
     cache:
@@ -83,7 +82,7 @@ pages:
     stage: doc
     script:
         - pip install -U sphinx
-        - cd doc && make clean && make html
+        - cd docs && make clean && make html
         - mv _build/html ../public/
     artifacts:
         paths:
-- 
GitLab