diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3b04b483932b157cc1712846d3700d9ac857b224..15cc99ac8bcd20a503f2cd58f342bb3a6c5f0a41 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,11 +15,8 @@ pages:
     - pip install poetry==1.8.2
     - poetry install
     - poetry run ./utilities.sh
-    - poetry run mkdocs build --strict --verbose --site-dir public
   artifacts:
     paths:
       - public
-  only:
-    - main
   tags:
     - inject
diff --git a/utilities.sh b/utilities.sh
index 8fc14c9ec80f548bd3864f83e38e988777b49e34..e0e084e61d6f04b5ff20c5dbcb6d9f4f67e27d65 100755
--- a/utilities.sh
+++ b/utilities.sh
@@ -1,11 +1,40 @@
 #!/usr/bin/env bash
+
+# Enable debugging
+set -x
+
+# Initialize and update git submodules
 git submodule init
 git submodule update --remote
 
+# Check the status of the git submodules
+git submodule status
+
+# Create necessary directories
 mkdir -p docs/tech
 mkdir -p files-from-repos
+
+# Print the current directory structure
+echo "Directory structure before copying files:"
+ls -R
+
+# Copy files to the respective directories
 cp ./backend/definitions/README.md ./docs/tech/architecture/definitions.md
 cp ./backend/CHANGELOG.md ./docs/tech/architecture/CHANGELOG.md
 cp ./backend/openapi.yml ./docs/tech/api/openapi.yml
 cp ./frontend/docker/nginx-deployment/README.md ./files-from-repos/nginx-README.md
-zip -r ./files-from-repos/deployment-files.zip ./frontend/docker/nginx-deployment/
\ No newline at end of file
+
+# Check if the files are copied correctly
+echo "Directory structure after copying files:"
+ls -R
+
+# Zip the deployment files
+zip -r ./files-from-repos/deployment-files.zip ./frontend/docker/nginx-deployment/
+
+# Check if the zip operation was successful
+if [ $? -eq 0 ]; then
+  echo "Zipping successful: ./files-from-repos/deployment-files.zip"
+else
+  echo "Zipping failed"
+  exit 1
+fi
\ No newline at end of file