mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
Update CI (#1011)
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:
parent
471889f744
commit
367380921f
@ -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
|
||||||
|
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user