Skip to content

Commit 6b546c7

Browse files
committed
bfix: Provide Firebase config secret during CI.
1 parent 697e3b5 commit 6b546c7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [ push ]
44

55
env:
66
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
7+
FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }}
78

89
jobs:
910
lint:
@@ -70,6 +71,8 @@ jobs:
7071
run: flutter pub get
7172
- name: Generate Freezed models
7273
run: flutter pub run build_runner build --delete-conflicting-outputs
74+
- name: Provide Firebase config file
75+
run: echo $FIREBASE_CONFIG | base64 --decode > android/app/google-services.json
7376

7477
# Build
7578
- name: Build APK

0 commit comments

Comments
 (0)