diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bd2b494217a6456f5c47e25bc88a7cf1682041c3..07798f6122ed0ee5affe35a72d230581595e2269 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,6 +47,15 @@ clone:
       - $CI_PROJECT_DIR/aircraft-design
       - $CI_PROJECT_DIR/libraries
       - $CI_PROJECT_DIR/docs/documentation
+    exclude:
+      - docs/**/latex  # Exclude LaTeX-generated files
+      - docs/**/man  # Exclude manual pages if not needed
+      - docs/**/rtf  # Exclude RTF output if not needed
+      - docs/**/xml  # Exclude XML files if they are not required
+      - docs/**/tmp  # Exclude temporary files
+      - docs/**/dot  # Exclude Graphviz DOT files
+    expire_in: 1 day  # Keep artifacts only for 1 day
+
   rules:
     - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'  # Run when the commit is on the default branch
       when: on_success  # Only run if the previous jobs are successful