chore: Disable stable for web until script is fixed

This commit is contained in:
Krille 2023-02-14 17:03:26 +01:00
commit 30d6435b96
2 changed files with 1 additions and 18 deletions

View file

@ -1,12 +0,0 @@
#!/usr/bin/env bash
GITLAB_PROJECT_ID="16112282"
PIPELINE="$(curl https://gitlab.com/api/v4/projects/${GITLAB_PROJECT_ID}/pipelines\?scope=tags\&status=success\&order_by=updated_at | jq '.[].id' | head -n1)"
JOB="$(curl https://gitlab.com/api/v4/projects/${GITLAB_PROJECT_ID}/pipelines/${PIPELINE}/jobs | jq -r '.[] | select(.name == "build_web").id')"
wget --output-document web.zip https://gitlab.com/api/v4/projects/${GITLAB_PROJECT_ID}/jobs/${JOB}/artifacts
unzip web.zip
mv build/web stable