Skip to content

Commit

Permalink
Change workflow run in ios
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sneha-s committed Apr 8, 2024
1 parent 15e43fe commit bcd10b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ on:
branches:
- main



jobs:

build:
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/ios_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Publish to App Store Connect

on:
workflow_dispatch:
push:
branches:
- main
on: push
# workflow_dispatch:
# push:
# branches:
# - main



Expand All @@ -21,8 +21,6 @@ jobs:
DIST_CERTIFICATE_PASSWORD: ${{ secrets.DIST_CERTIFICATE_PASSWORD }}
DIST_PROFILE: ${{ secrets.DIST_PROFILE_BASE64 }}



steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -35,14 +33,12 @@ jobs:

- name: Retrieve the secret and decode it to file
env:
FIREBASE_APP_ID_JSON_BASE64: ${{ secrets.FIREBASE_APP_ID_JSON_BASE64 }}
FIREBASE_OPTIONS_BASE64: ${{ secrets.FIREBASE_OPTIONS_BASE64 }}
GOOGLE_SERVICE_INFO_PLIST_BASE64: ${{ secrets.GOOGLE_SERVICE_INFO_PLIST_BASE64 }}
run: |
cd khelo
echo $FIREBASE_OPTIONS_BASE64 | base64 --decode > lib/firebase_options.dart
echo $GOOGLE_SERVICE_INFO_PLIST_BASE64 | base64 --decode > ios/Runner/GoogleService-Info.plist
echo $FIREBASE_APP_ID_JSON_BASE64 | base64 --decode > ios/
- name: Install Dependencies
run: |
Expand Down

0 comments on commit bcd10b7

Please sign in to comment.