-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Firebase publish action for publishing Demo app (#1149)
* Github Action workflow for Firebase deploy
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Deploy demo app to Firebase app distribution | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- paypal-app-switch-feature | ||
jobs: | ||
build_and_preview: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
- name: Setup Java | ||
uses: ./.github/actions/setup | ||
- name: Assemble | ||
run: ./gradlew --stacktrace :demo:assembleDebug | ||
- name: Upload artifact to Firebase App Distribution | ||
uses: wzieba/Firebase-Distribution-Github-Action@v1 | ||
with: | ||
appId: ${{ secrets.FIREBASE_APP_ID }} | ||
serviceCredentialsFileContent: ${{ secrets.FIREBASE_CREDENTIAL_FILE_CONTENT }} | ||
groups: testers | ||
file: Demo/build/outputs/apk/debug/Demo-debug.apk |