diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 96070201033c21397c009349deeedd08ab6a2e01..2b8e89e8f39c952aa07f380aa39b3f2c653a78a0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,6 +40,7 @@ pages:
     script:
         - export LC_ALL=$(locale -a | grep en_US)
         - export LANG=$(locale -a | grep en_US)
+        - python3 setup.py install
         - python3 setup.py build_sphinx
         - cp -r build/sphinx/html public
     artifacts: