Skip to content

Commit

Permalink
Add flutterfire configuration step to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yorifuji committed Sep 8, 2024
1 parent cf9ec19 commit eb8bef5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deliver-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ jobs:

- run: flutter pub get

- name: flutterfire configure
env:
FIREBASE_ADMIN_SERVICE_ACCOUNT_JSON_BASE64: ${{ secrets.FIREBASE_ADMIN_SERVICE_ACCOUNT_JSON_BASE64_STG }}
run: |
which firebase || curl -sL https://firebase.tools | bash
dart pub global activate flutterfire_cli 1.0.1-dev.4
echo -n "$FIREBASE_ADMIN_SERVICE_ACCOUNT_JSON_BASE64" | base64 --decode > ${{ runner.temp }}/firebase_admin_service_account.json
GOOGLE_APPLICATION_CREDENTIALS=${{ runner.temp }}/firebase_admin_service_account.json make firebase-configure-dev
- run: flutter build web --release --dart-define=FLAVOR=dev --web-renderer canvaskit

- uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
Expand Down

0 comments on commit eb8bef5

Please sign in to comment.