diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d97e705aaaab0b2e74a3e7361bd19bff92fe99db..b0eb666e2b3ffb3a53d894fd1326ce975dcb0cc8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,10 +4,11 @@ stages:
   - publish
 
 pages:
-  image: "debian:bullseye"
+  image: "python:3.10.0-bullseye"
   stage: publish
   script:
-    - wget https://git-st.inf.tu-dresden.de/jastadd/ragconnect/-/jobs/$UPSTREAM_JOB_ID/artifacts/download archive.zip
+    - if [ $UPSTREAM_JOB_ID ]; then TARGET=https://git-st.inf.tu-dresden.de/jastadd/ragconnect/-/jobs/$UPSTREAM_JOB_ID/artifacts/download; else TARGET=https://git-st.inf.tu-dresden.de/jastadd/ragconnect/-/jobs/artifacts/dev/download?job=pages-dev; fi
+    - wget $TARGET archive.zip
     - unzip archive.zip
   artifacts:
     paths: