diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 93a8475e4db9ce8b8eb47bf5a1c82058c7442b5a..3fec7a7d466682aaf0931d02913ef4f604222505 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,7 +15,7 @@ pages:
     - pip3 install sphinx
     - pip3 install sphinxcontrib-bibtex
     - pip3 install -r jass_preprocessing/requirements.txt
-    - cd jass_preprocessing/doc
+    - cd ./doc
     - sphinx-apidoc -f -o ./source/_autosummary/ ../jass_preprocessing/
     - make html
     - mv _build/html/ ../../public