.ENV file test

This commit is contained in:
Gergely Hegedus 2023-09-28 16:25:15 +03:00
parent 29d421e4c6
commit df4dbfa09b
6 changed files with 52 additions and 3 deletions

View file

@ -51,6 +51,11 @@ jobs:
echo "$firebase_service_account_base64" | base64 --decode > firebase-distribution-service-account.json
echo "CI_EVAL_FIREBASE_DISTRIBUTION_AUTH_FILE=`pwd`/firebase-distribution-service-account.json" >> $GITHUB_ENV
- name: Staging .ENV File
env:
ENV_FILE_CONTENT: ${{ secrets.CI_STAGING_ENV_FILE_CONTENT }}
run: echo "$ENV_FILE_CONTENT" > .env
- name: Deploy to Firebase
working-directory: ./android
run: bundle exec fastlane deployInternalToFirebase release_notes:"${{ github.event.inputs.releaseNotes }}"
@ -115,9 +120,14 @@ jobs:
echo "$ios_cert_base64" | base64 --decode > ios_distribution.p12
echo "CI_EVAL_IOS_CERT_FILE=`pwd`/ios_distribution.p12" >> $GITHUB_ENV
- name: Staging .ENV File
env:
ENV_FILE_CONTENT: ${{ secrets.CI_STAGING_ENV_FILE_CONTENT }}
run: echo "$ENV_FILE_CONTENT" > .env
- name: Deploy to Firebase
env:
CI_EVAL_IOS_CERT_PASSWORD: ${{ secrets.CI_EVAL_IOS_CERT_PASSWORD }}
CI_EVAL_INTERNAL_APP_IDENTIFIER: ${{ secrets.CI_EVAL_INTERNAL_APP_IDENTIFIER }}
working-directory: ./ios
run: bundle exec fastlane deployInternalToFirebase release_notes:"${{ github.event.inputs.releaseNotes }}"
run: bundle exec fastlane deployInternalToFirebase release_notes:"${{ github.event.inputs.releaseNotes }}"