Skip to content

Commit

Permalink
[#229] Add missing release signing configs in CD workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
luongvo committed Jul 31, 2023
1 parent 99e576c commit 90ffb41
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/android_deploy_production_to_playstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- feature/229-add-signing-config-in-workflow

jobs:
build_and_deploy_android:
Expand Down Expand Up @@ -47,6 +48,14 @@ jobs:
run: |
echo $ENV_PRODUCTION > .env
- name: Set up release signing configs
env:
ANDROID_RELEASE_KEYSTORE: ${{ secrets.ANDROID_RELEASE_KEYSTORE }}
ANDROID_SIGNING_PROPERTIES: ${{ secrets.ANDROID_SIGNING_PROPERTIES }}
run: |
echo $ANDROID_RELEASE_KEYSTORE | base64 --decode > android/config/release.keystore
echo $ANDROID_SIGNING_PROPERTIES | base64 --decode > android/signing.properties
- name: Build Production App Bundle
run: flutter build appbundle --flavor production --release --build-number $GITHUB_RUN_NUMBER

Expand Down

0 comments on commit 90ffb41

Please sign in to comment.