CI: use cloudflare url for uploading packages

Since the fosshost proxy does not work at the moment.
This commit is contained in:
Henrik Grimler 2022-03-07 11:14:49 +01:00
parent d4751c2468
commit a429f53d6f
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ jobs:
--user-agent "Termux-Packages/1.0 (https://github.com/termux/termux-packages)" \
--request DELETE \
--write-out "|%{http_code}" \
https://packages.termux.org/aptly-api/files/${REPOSITORY_NAME}-${{ github.sha }}
https://packages-cf.termux.org/aptly-api/files/${REPOSITORY_NAME}-${{ github.sha }}
)
http_status_code=$(echo "$curl_response" | cut -d'|' -f2 | grep -oP '\d{3}$')
@ -224,7 +224,7 @@ jobs:
--request POST \
--form file=@${filename} \
--write-out "|%{http_code}" \
https://packages.termux.org/aptly-api/files/${REPOSITORY_NAME}-${{ github.sha }} || true
https://packages-cf.termux.org/aptly-api/files/${REPOSITORY_NAME}-${{ github.sha }} || true
)
http_status_code=$(echo "$curl_response" | cut -d'|' -f2 | grep -oP '\d{3}$')