diff --git a/.github/workflows/publish-ota-update.yml b/.github/workflows/publish-ota-update.yml index f577affe..8e12e309 100644 --- a/.github/workflows/publish-ota-update.yml +++ b/.github/workflows/publish-ota-update.yml @@ -20,6 +20,12 @@ jobs: - name: ๐Ÿงต Run yarn run: yarn + - name: ๐Ÿ‘ฉโ€๐Ÿ’ป Configure Git + run: | + git config --global user.email "violet@cosmonautical.cloud" + git config --global user.name "anultravioletaurora" + git remote set-url origin https://x-access-token:${{ secrets.SIGNING_REPO_PAT }}@github.com/Jellify-Music/App-Bundles.git + - name: ๐Ÿค– Publish Android Update run: yarn sendOTA:android diff --git a/scripts/ota-android.sh b/scripts/ota-android.sh index 7574f427..4cfcecd4 100644 --- a/scripts/ota-android.sh +++ b/scripts/ota-android.sh @@ -6,8 +6,6 @@ cd ../.. yarn createBundle:android cd android/App-Bundles git add . -git config --global user.email "violet@cosmonautical.cloud" -git config --global user.name "anultravioletaurora" git commit -m "OTA-Update - $(date +'%b %d %H:%M')" git push origin head cd .. diff --git a/scripts/ota-iOS.sh b/scripts/ota-iOS.sh index 6c38d71c..b030ead5 100644 --- a/scripts/ota-iOS.sh +++ b/scripts/ota-iOS.sh @@ -8,8 +8,6 @@ cd ../.. yarn createBundle:ios cd ios/App-Bundles git add . -git config --global user.email "violet@cosmonautical.cloud" -git config --global user.name "anultravioletaurora" git commit -m "OTA-Update - $(date +'%b %d %H:%M')" git push origin head cd ..