diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5a8705ec7c8a6a50ae3c30954875409f40c2ee3d..0e2113c2ea42bf0e6f37ace318c25eab4e55c98e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,14 +9,13 @@ image: busybox
 
 pages:
   stage: deploy
-  environment: production
   tags:
     - docker
   script:
-    - echo "The site will be deployed to $CI_PAGES_URL"
+    # - echo "The site will be deployed to $CI_PAGES_URL"
     - mv docs/build public  # Move the build output to the "public" directory
   artifacts:
     paths:
       - public
-  rules:
-    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+  only:
+    - main