diff --git a/.github/workflows/android_deploy_production_to_playstore.yml b/.github/workflows/android_deploy_production_to_playstore.yml index ccbcd41d..df159738 100644 --- a/.github/workflows/android_deploy_production_to_playstore.yml +++ b/.github/workflows/android_deploy_production_to_playstore.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - feature/229-add-signing-config-in-workflow jobs: build_and_deploy_android: @@ -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