diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ecb0871e5ee180f7ec21e5386c676f9166438a92..8ac033f05d3290491d2fb352bb7197302705a7b3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,33 +26,4 @@ pages:
       - public
   only:
     - main
-image: python:3.7
-
-before_script:
-  - pip install sphinx
-  - pip install -r requirements.txt
-
-stages:
-  - build
-  - deploy  # Add the deploy stage here
-
-build-docs:
-  stage: build
-  script:
-    - sphinx-build -b html docs/source/ docs/build/html
-  artifacts:
-    paths:
-      - docs/build/html
-  only:
-    - main
-
-pages:
-  stage: deploy
-  script:
-    - mv docs/build/html public
-  artifacts:
-    paths:
-      - public
-  only:
-    - main