feat: add different deployments for stable/nightly
- re-enable F-Droid (we should not silently stop shipping it without further notice) - re-enable integration tests on other tag - make F-Droid job fail-safe - deploy stable and nightly releases at different slugs Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
parent
5538a7c597
commit
a0ada6b866
2 changed files with 45 additions and 10 deletions
12
scripts/download-web-stable.sh
Executable file
12
scripts/download-web-stable.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue