Skip to content

Commit 573eb1c

Browse files
committed
removed firebase config from public
Signed-off-by: Abdur Rafay Saleem <[email protected]>
1 parent 60c4cc2 commit 573eb1c

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.github/workflows/pull-request-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v2
9+
- name: Provide Firebase Android
10+
env:
11+
FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }}
12+
run: echo $FIREBASE_CONFIG > ./android/app/google-services.json
913
- uses: actions/setup-java@v1
1014
with:
1115
java-version: '12.x'

.github/workflows/push-test-build-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12+
- name: Provide Firebase Android
13+
env:
14+
FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }}
15+
run: echo $FIREBASE_CONFIG > ./android/app/google-services.json
1216
- uses: actions/setup-java@v1
1317
with:
1418
java-version: '12.x'

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,5 +233,9 @@ fabric.properties
233233

234234
!/gradle/wrapper/gradle-wrapper.jar
235235

236-
# End of https://www.toptal.com/developers/gitignore/api/flutter,dart,androidstudio,windows
237236
keystore keys.txt
237+
238+
# Firebase config
239+
google-services.json
240+
241+
# End of https://www.toptal.com/developers/gitignore/api/flutter,dart,androidstudio,windows

0 commit comments

Comments
 (0)