diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c60cf15cbad437aa5018993ff477cf347a4bd21f..10199198beab4eab6a065e867f9b2df74f36130a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,20 +6,22 @@ cache:
 
 test:
   script:
-  - cd /app
-  - pip install -I -r requirements.txt
-  - cd /app/docs
+  - pwd
+  - pip install -U -r requirements.txt
+  - cd docs
   - make html
   except:
     - master
 
 pages:
   script:
-  - cd /app
-  - pip install -I -r requirements.txt
-  - cd /app/docs
+  - pwd
+  - ls
+  - pip install -U -r requirements.txt
+  - cd docs
   - make html
-  - mv /app/docs/_build/html /app/public
+  - cd ..
+  - mv docs/_build/html public
   artifacts:
     paths:
     - public