diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e31dd03e793dfb65c36de901cc4ea2d2de07c7a4..26f7b66f600414fcf8d4fc682aa236c23a1736f5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,6 +20,8 @@ pages:
     only:
         - master
     script:
+        - pwd
+        - ls
         - cd python
         - pip3 install --no-deps ltfatpy madarrays yafe skpomade pandas xarray
         - pip3 install 'scipy==1.4.1' -U
@@ -29,7 +31,10 @@ pages:
         - python3 setup.py build_sphinx
         - pwd
         - ls
-        - cp -r build/sphinx/html public
+        - cd ..
+        - pwd
+        - ls
+        - cp -r python/build/sphinx/html public
         - ls public
     artifacts:
         paths: