diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 977989e0733387bcfbd66da6211354d6ba63ce9b..737ad50338505f0a489b7d83b517e6663e4af928 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,10 +31,10 @@ doxygen:
     - apk update && apk --no-cache add git doxygen graphviz ttf-freefont texmf-dist texmf-dist-latexextra texlive texlive-dvi
   script:
 
-  # Debugging: Output the current working directory to help troubleshoot path issues
-    - echo "Current working directory: %cd%"
   # Clone the aircraft-design repository, including its submodules
-    - git clone --recurse-submodules https://gitlab-ci-token:${CI_JOB_TOKEN}@git.rwth-aachen.de/unicado/aircraft-design
+    - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.rwth-aachen.de/unicado/aircraft-design
+    - cd aircraft-design
+    - git clone --recurse-submodules https://gitlab-ci-token:${CI_JOB_TOKEN}@git.rwth-aachen.de/unicado/libraries libs/
   # Change to the project directory (useful for multi-directory repositories)
     - cd $CI_PROJECT_DIR