From cd067261397118e9b26a834b0712b4eb28942fd5 Mon Sep 17 00:00:00 2001 From: thanhdang198 Date: Tue, 24 Sep 2024 15:26:34 +0700 Subject: [PATCH] feat: configure testflight provision --- .github/workflows/build_ios_testflight.yml | 5 +++++ ios/fastlane/export_options.plist | 1 + ios/fastlane/vietmap.mobileprovision | 1 + 3 files changed, 7 insertions(+) create mode 100644 ios/fastlane/export_options.plist create mode 100644 ios/fastlane/vietmap.mobileprovision diff --git a/.github/workflows/build_ios_testflight.yml b/.github/workflows/build_ios_testflight.yml index 82e7e23..d79a3b1 100644 --- a/.github/workflows/build_ios_testflight.yml +++ b/.github/workflows/build_ios_testflight.yml @@ -26,6 +26,11 @@ jobs: /usr/libexec/PlistBuddy -c "Set :VietMapAccessToken ${{ secrets.VIETMAP_API_KEY }}" ios/Runner/Info.plist /usr/libexec/PlistBuddy -c "Set :VietMapURL ${{ secrets.VIETMAP_STYLE_URL }}" ios/Runner/Info.plist + # Step 4: Create .env file + - name: Create .env file + run: | + echo "VIETMAP_API_KEY=${{ secrets.VIETMAP_API_KEY }}" > .env + # Step 4: Install dependencies - name: Install dependencies run: flutter pub get diff --git a/ios/fastlane/export_options.plist b/ios/fastlane/export_options.plist new file mode 100644 index 0000000..a65eba2 --- /dev/null +++ b/ios/fastlane/export_options.plist @@ -0,0 +1 @@ +/// Just an empty file, will be replace by the CI/CD progress \ No newline at end of file diff --git a/ios/fastlane/vietmap.mobileprovision b/ios/fastlane/vietmap.mobileprovision new file mode 100644 index 0000000..a65eba2 --- /dev/null +++ b/ios/fastlane/vietmap.mobileprovision @@ -0,0 +1 @@ +/// Just an empty file, will be replace by the CI/CD progress \ No newline at end of file