diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9b711a54657c971a51edf4b8f30a424c7bdef5ea..74d770f6ce33fe9bfbdfef7dd5ea513284e1f761 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,13 +1,13 @@
 image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG
 
 default:
+  before_script:
+    - git clone https://eicweb.phy.anl.gov/EIC/detectors/topside.git && mkdir topside/build && cd topside/build && cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j20 install && cd ../..
   artifacts:
     expire_in: 72 hours 
     paths:
       - results/
       - images/
-    before_script:
-      - git clone https://eicweb.phy.anl.gov/EIC/detectors/topside.git && mkdir topside/build && cd topside/build && cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j20 install && cd ../..
         #    exclude:
         #      - .git/
         #      - datasets/.git/