Skip to content

Commit

Permalink
Firebase publish action for publishing Demo app (#1149)
Browse files Browse the repository at this point in the history
* Github Action workflow for Firebase deploy
  • Loading branch information
saperi22 authored Sep 11, 2024
1 parent 84894a4 commit 6c9af2d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/firebase_deploy_demo.yml
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

0 comments on commit 6c9af2d

Please sign in to comment.