Use HTTPS API to fetch APK instead of SSH
Some checks failed
Build and Release / build (push) Failing after 37s

💘 Generated with Crush

Assisted-by: Claude Opus 4.5 via Crush <crush@charm.land>
This commit is contained in:
Chris Kruining 2026-02-03 15:49:10 +01:00
parent 96c8687a17
commit cac40fe79c
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -20,13 +20,10 @@ jobs:
- name: Fetch APK from private repo
run: |
mkdir -p ~/.ssh
echo "${{ secrets.APK_DEPLOY_KEY }}" > ~/.ssh/apk_key
chmod 600 ~/.ssh/apk_key
GIT_SSH_COMMAND="ssh -i ~/.ssh/apk_key -o StrictHostKeyChecking=no" \
git clone --depth 1 git@git.amarth.cloud:chris/files.git apk-repo
mv apk-repo/delver.apk .
rm -rf apk-repo ~/.ssh/apk_key
curl -fsSL \
-H "Authorization: token ${{ secrets.APK_REPO_TOKEN }}" \
"https://git.amarth.cloud/api/v1/repos/chris/files/raw/delver.apk" \
-o delver.apk
- name: Build all platforms
run: |