diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d6e59b77883f33080970fa882cd5be39d20a207c..d6e05525fe817c5f718b720c3d2e3f7d7bd41328 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -80,8 +80,8 @@ pages:
   - apt-get -y update && apt-get -y install make
   - pip install poetry
   script:
-  - pip install poetry
-  - poetry install; poetry run make -C docs html BUILDDIR=../public/docs
+  - poetry install
+  - poetry run make -C docs html BUILDDIR=../public/docs
   artifacts:
     paths:
     - public/