diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0e87a2780a64b86c2cd042d0c145d5b0e04fe957..5841591808295ea320f823afbeb1fd30b9aa2759 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,11 +8,6 @@ stages:  # Define stages in the pipeline
 build-docs:
   stage: build
   script:
-    - pip install markdown-it-py pyyaml docutils==0.20 sphinx-rtd-theme # necessary dependencies for sphinx
-    - pip install sphinx
-    - pip install sphinx-rtd-theme
-    - pip install sphinx-copybutton
-    - pip install myst-parser
     - sphinx-build docs/source docs/build  # Build the documentation
   artifacts:
     paths: