diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 120ec25b8230d020c8f724d78e80ef42713614c5..6e605df78493ae4310b631da34ba3269f149a58d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -312,6 +312,7 @@ pages:
     - unzip 1.5.zip
     - cd sphinx-1.5/
     - python setup.py install --prefix=${GSTLAL_DIR}
+    - cd ..
     
     - export GSTLAL_FIR_WHITEN=0
     - export TMPDIR=tmp/