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
|
- name: Fetch APK from private repo
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
curl -fsSL \
|
||||||
echo "${{ secrets.APK_DEPLOY_KEY }}" > ~/.ssh/apk_key
|
-H "Authorization: token ${{ secrets.APK_REPO_TOKEN }}" \
|
||||||
chmod 600 ~/.ssh/apk_key
|
"https://git.amarth.cloud/api/v1/repos/chris/files/raw/delver.apk" \
|
||||||
GIT_SSH_COMMAND="ssh -i ~/.ssh/apk_key -o StrictHostKeyChecking=no" \
|
-o delver.apk
|
||||||
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
|
|
||||||
|
|
||||||
- name: Build all platforms
|
- name: Build all platforms
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue