Skip to content

Commit

Permalink
Update ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BhumikaDatamatics authored Apr 25, 2024
1 parent 7aae54c commit 3995945
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,24 @@ jobs:
echo clientIdKey=${{ secrets.CLIENTIDKEY }} >> .env
cat .env
- name: Create file
run: cat /home/runner/work/parenting-app-bebbo-mobile/parenting-app-bebbo-mobile/android/app/src/prodstaging/google-services.json | base64
- name: Create google service Dev file
run: cat /home/runner/work/parenting-app-bebbo-mobile/parenting-app-bebbo-mobile/ios/GoogleServices/Development/GoogleService-Info.plist | base64

- name: Putting data
- name: Putting data google service Dev file
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA > /home/runner/work/parenting-app-bebbo-mobile/parenting-app-bebbo-mobile/android/app/src/prodstaging/google-services.json
DATA: ${{ secrets.GOOGLE_SERVICES_PLIST_DEV }}
run: echo $DATA > /home/runner/work/parenting-app-bebbo-mobile/parenting-app-bebbo-mobile/ios/GoogleServices/Development/GoogleService-Info.plist
#run: echo $DATA > /home/runner/work/parenting-app-bebbo-mobile/parenting-app-bebbo-mobile/android/app/src/prodstaging/google-services.json


- name: Create google service prod file
run: cat /home/runner/work/parenting-app-bebbo-mobile/parenting-app-bebbo-mobile/ios/GoogleServices/Production/GoogleService-Info.plist | base64

- name: Putting data google service prod file
env:
DATA: ${{ secrets.GOOGLE_SERVICES_PLIST_PROD }}
run: echo $DATA > /home/runner/work/parenting-app-bebbo-mobile/parenting-app-bebbo-mobile/ios/GoogleServices/Production/GoogleService-Info.plist
#run: echo $DATA > /home/runner/work/parenting-app-bebbo-mobile/parenting-app-bebbo-mobile/android/app/src/prodstaging/google-services.json

- name: Install pod dependencies
run: |
Expand All @@ -89,7 +100,7 @@ jobs:
run: |
# create variables
CERT_PATH=$RUNNER_TEMP/dist_certificate.p12
# PP_PATH_PROD=$RUNNER_TEMP/dist_pp.mobileprovision
PP_PATH_PROD=$RUNNER_TEMP/dist_pp.mobileprovision
PP_PATH_STAGING=$RUNNER_TEMP/dist_pp_adc.mobileprovision
KCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
Expand Down Expand Up @@ -140,7 +151,9 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: Bebbo.ipa
path: ${{ env.ARTIFACT_PATH_STAGING }}
path: |
${{ env.ARTIFACT_PATH_STAGING }}
${{ env.ARTIFACT_PATH_PROD }}
# name: ${{ env.ARTIFACT_NAME }}
# path: |
Expand Down

0 comments on commit 3995945

Please sign in to comment.