Use HTTPS API to fetch APK instead of SSH
Some checks failed
Build and Release / build (push) Failing after 37s
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:
parent
96c8687a17
commit
cac40fe79c
1 changed files with 4 additions and 7 deletions
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue