fix(ci): switch to --token auth and add --project flag for Firebase deploy
This commit is contained in:
@@ -86,14 +86,14 @@ jobs:
|
||||
- name: Deploy to Firebase
|
||||
env:
|
||||
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }}
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
run: |
|
||||
echo "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" | base64 -d > /tmp/firebase-key.json
|
||||
export GOOGLE_APPLICATION_CREDENTIALS=/tmp/f...on
|
||||
npx firebase appdistribution:distribute tabatago-swift/build/TabataGo.ipa \
|
||||
--app "${FIREBASE_APP_ID}" \
|
||||
--groups "millian-test" \
|
||||
--project tabatago-19a80 \
|
||||
--token "${FIREBASE_TOKEN}" \
|
||||
--release-notes "PR: ${{ github.event.pull_request.title }}"
|
||||
rm /tmp/firebase-key.json
|
||||
|
||||
- name: Post "Ready to test" comment
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user