Skip to content

Commit

Permalink
Set up auto deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sneha-s committed Apr 2, 2024
1 parent 7308edb commit ffc5e70
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions codemagic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ workflows:

- name: Set up local.properties
script: |
echo "flutter.sdk=$HOME/programs/flutter" > "$CM_BUILD_DIR/android/local.properties
echo "flutter.sdk=$HOME/programs/flutter" > "$CM_BUILD_DIR/android/local.properties"
- name: Get Flutter Packages
- name: Decode variables
script: |
cd khelo
echo $GOOGLE_SERVICES_JSON | base64 --decode > android/app/google-services.json
echo $FIREBASE_OPTIONS | base64 --decode > lib/firebase_options.dart
- name: Get Flutter Packages
script: |
cd ../data
flutter clean
flutter pub get
Expand All @@ -33,10 +38,6 @@ workflows:
flutter clean
flutter pub get
- name: Decode variables
script: |
echo $GOOGLE_SERVICES_JSON | base64 --decode > android/app/google-services.json
echo $FIREBASE_OPTIONS | base64 --decode > lib/firebase_options.dart
- name: Flutter analyze
script: |
Expand Down

0 comments on commit ffc5e70

Please sign in to comment.