@@ -138,7 +138,7 @@ jobs:
138
138
--name google-services.json --file ${{ github.workspace }}/app/src/standardBeta/google-services.json --output none
139
139
140
140
- name : Download Firebase credentials
141
- if : ${{ matrix.variant == 'prod' && inputs.distribute-to-firebase }}
141
+ if : ${{ matrix.variant == 'prod' && ( inputs.distribute-to-firebase || github.event_name == 'push') }}
142
142
env :
143
143
ACCOUNT_NAME : bitwardenci
144
144
CONTAINER_NAME : mobile
@@ -346,19 +346,19 @@ jobs:
346
346
if-no-files-found : error
347
347
348
348
- name : Install Firebase app distribution plugin
349
- if : ${{ matrix.variant == 'prod' && github.ref_name == 'main' && inputs.distribute-to-firebase }}
349
+ if : ${{ matrix.variant == 'prod' && github.ref_name == 'main' && ( inputs.distribute-to-firebase || github.event_name == 'push') }}
350
350
run : bundle exec fastlane add_plugin firebase_app_distribution
351
351
352
352
- name : Publish release artifacts to Firebase
353
- if : ${{ matrix.variant == 'prod' && matrix.artifact == 'apk' && github.ref_name == 'main' && inputs.distribute-to-firebase }}
353
+ if : ${{ matrix.variant == 'prod' && matrix.artifact == 'apk' && github.ref_name == 'main' && ( inputs.distribute-to-firebase || github.event_name == 'push') }}
354
354
env :
355
355
APP_PLAY_FIREBASE_CREDS_PATH : ${{ github.workspace }}/secrets/app_play_prod_firebase-creds.json
356
356
run : |
357
357
bundle exec fastlane distributeReleasePlayStoreToFirebase \
358
358
service_credentials_file:${{ env.APP_PLAY_FIREBASE_CREDS_PATH }}
359
359
360
360
- name : Publish beta artifacts to Firebase
361
- if : ${{ (matrix.variant == 'prod' && matrix.artifact == 'apk') && github.ref_name == 'main' && inputs.distribute-to-firebase }}
361
+ if : ${{ (matrix.variant == 'prod' && matrix.artifact == 'apk') && github.ref_name == 'main' && ( inputs.distribute-to-firebase || github.event_name == 'push') }}
362
362
env :
363
363
APP_PLAY_FIREBASE_CREDS_PATH : ${{ github.workspace }}/secrets/app_play_prod_firebase-creds.json
364
364
run : |
@@ -410,7 +410,7 @@ jobs:
410
410
--name app_beta_fdroid-keystore.jks --file ${{ github.workspace }}/keystores/app_beta_fdroid-keystore.jks --output none
411
411
412
412
- name : Download Firebase credentials
413
- if : ${{ inputs.distribute-to-firebase }}
413
+ if : ${{ inputs.distribute-to-firebase || github.event_name == 'push' }}
414
414
env :
415
415
ACCOUNT_NAME : bitwardenci
416
416
CONTAINER_NAME : mobile
0 commit comments