diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 29761a4..29db287 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -50,7 +50,7 @@ build-packages:      # This job runs in the deploy stage.
     - git config --global user.name "Maximilian Keßler (via gitlab runner)"
   script:
     - echo "Building packages incrementally..."
-    - test -d PyTeX
+    - test -d PyTeX/build
     - .ci/ci_build.sh
     - cd build/LatexPackagesBuild
     - git add .