Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1011
Co-authored-by: M M Arif <mmarif@noreply.codeberg.org>
Co-committed-by: M M Arif <mmarif@noreply.codeberg.org>
This commit is contained in:
M M Arif 2021-11-01 08:00:52 +01:00
parent 471889f744
commit 367380921f
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ on_setup:
- ./scripts/add-commit-status.sh - ./scripts/add-commit-status.sh
build: build:
image: nextcloudci/android:android-54 image: nextcloudci/android8:android-61
stage: build stage: build
only: only:
- main - main

View File

@ -11,7 +11,7 @@
# Update the docker container. curl is an outdated version which has to be updated. # Update the docker container. curl is an outdated version which has to be updated.
apt update apt update
apt upgrade curl apt upgrade curl -y
KEYFILE=$(mktemp) KEYFILE=$(mktemp)
curl -X GET "${INSTANCE}/api/v1/repos/${KS_REPO}/contents/${KS_FILE}?token=${BOT_TOKEN}" -H "accept: application/json" | sed 's|"content":"|#|g' | cut -d '#' -f 2 | cut -d '"' -f 1 | base64 -d > ${KEYFILE} curl -X GET "${INSTANCE}/api/v1/repos/${KS_REPO}/contents/${KS_FILE}?token=${BOT_TOKEN}" -H "accept: application/json" | sed 's|"content":"|#|g' | cut -d '#' -f 2 | cut -d '"' -f 1 | base64 -d > ${KEYFILE}