diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d33e719b4a93b6409130bfcce12b4d257aebb2df..a58ba0b8e56c3e8fc5699740fe002b4edff9e5af 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,7 +29,8 @@ create_docs:
   needs: [test]
   script:
     - poetry install
-    - cd docs ; make html
+    - cd docs
+    - poetry run sphinx-build -b html . build
     - mv build/html/ ../public/
   artifacts:
     paths: