Skip to content

Commit

Permalink
Firebase config (Google services) (#97)
Browse files Browse the repository at this point in the history
* Firebase config

* Check GnuGPG version

* Revert printing version

* Fix google-services.json decrypt location
  • Loading branch information
kirillt authored Jun 18, 2024
1 parent a33ecab commit d06bca5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
echo "${{ secrets.KEYSTORE_ENCRYPTED }}" > keystore.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSWORD }}" --batch keystore.asc > keystore.jks
- name: Decrypt the config for Google Services
run: |
echo "${{ secrets.GOOGLE_ENCRYPTED }}" > google-services.asc
gpg -d --passphrase "${{ secrets.GOOGLE_PASSWORD }}" --batch google-services.asc > app/google-services.json
- name: Build release APK
run: ./gradlew assembleRelease

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ jobs:
- name: Decrypt the keystore for signing
run: |
echo "${{ secrets.KEYSTORE_ENCRYPTED }}" > keystore.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSWORD }}" --batch keystore.asc > keystore.jks
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSWORD }}" --batch keystore.asc > keystore.jks
- name: Decrypt the config for Google Services
run: |
echo "${{ secrets.GOOGLE_ENCRYPTED }}" > google-services.asc
gpg -d --passphrase "${{ secrets.GOOGLE_PASSWORD }}" --batch google-services.asc > app/google-services.json
- name: Build Release APK
run: ./gradlew assembleRelease
Expand Down

0 comments on commit d06bca5

Please sign in to comment.