From 67fb799c5bd31fc65198375fb2160375aa1ecdc6 Mon Sep 17 00:00:00 2001 From: Violet Caulfield Date: Thu, 15 May 2025 11:42:30 -0500 Subject: [PATCH] update ota scripts --- .github/workflows/publish-ota-update.yml | 4 ++++ scripts/ota-android.sh | 2 +- scripts/ota-iOS.sh | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-ota-update.yml b/.github/workflows/publish-ota-update.yml index a70736de..076ecf7d 100644 --- a/.github/workflows/publish-ota-update.yml +++ b/.github/workflows/publish-ota-update.yml @@ -27,6 +27,10 @@ jobs: - name: 🤖 Publish Android Update run: yarn sendOTA:android + env: + SIGNING_REPO_PAT: ${{ secrets.SIGNING_REPO_PAT }} - name: 🍎 Publish iOS Update run: yarn sendOTA:iOS + env: + SIGNING_REPO_PAT: ${{ secrets.SIGNING_REPO_PAT }} diff --git a/scripts/ota-android.sh b/scripts/ota-android.sh index 4cfcecd4..8e65408b 100644 --- a/scripts/ota-android.sh +++ b/scripts/ota-android.sh @@ -7,7 +7,7 @@ yarn createBundle:android cd android/App-Bundles git add . git commit -m "OTA-Update - $(date +'%b %d %H:%M')" -git push origin head +git push https://x-access-token:$SIGNING_REPO_PAT@github.com/Jellify-Music/App-Bundles.git android cd .. rm -rf App-Bundles cd .. diff --git a/scripts/ota-iOS.sh b/scripts/ota-iOS.sh index b030ead5..82635427 100644 --- a/scripts/ota-iOS.sh +++ b/scripts/ota-iOS.sh @@ -9,7 +9,7 @@ yarn createBundle:ios cd ios/App-Bundles git add . git commit -m "OTA-Update - $(date +'%b %d %H:%M')" -git push origin head +git push https://x-access-token:$SIGNING_REPO_PAT@github.com/Jellify-Music/App-Bundles.git iOS cd .. rm -rf App-Bundles cd ..