Skip to content
Snippets Groups Projects
Commit 9f65cd42 authored by René Schöne's avatar René Schöne
Browse files

fix ci

- use common image with both wget and unzip
- download latest dev artifact if run from this repo
parent 6a27b964
Branches
No related tags found
No related merge requests found
Pipeline #12014 failed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment