From 885c6f66f98aa5f1ba3ac3b450afb118e0e6139f Mon Sep 17 00:00:00 2001 From: misha Date: Wed, 10 Jun 2026 16:39:06 +0300 Subject: [PATCH] feat(ci/cd): added gitea token for fastlane url --- .gitea/workflows/test-flight-cd.yaml | 2 +- ios/fastlane/Fastfile | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/test-flight-cd.yaml b/.gitea/workflows/test-flight-cd.yaml index 828c0d1f..052fb05b 100644 --- a/.gitea/workflows/test-flight-cd.yaml +++ b/.gitea/workflows/test-flight-cd.yaml @@ -73,7 +73,7 @@ jobs: LC_ALL: en_US.UTF-8 MATCH_PASSWORD: ${{ vars.IOS_RUNNER_CI_PASSWORD }} FASTLANE_PASSWORD: ${{ vars.FASTLANE_PASSWORD }} - MATCH_GIT_URL: http://gitea.office.local:3000/eatvio/fastlane + MATCH_GIT_URL: http://eatvio:${{ vars.READ_USER_GITEA_TOKEN }}@gitea.office.local:3000/eatvio/fastlane.git FASTLANE_USER: eatvio2023@icloud.com FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ${{ vars.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }} API_APPSTORE_KEY: ${{ vars.API_APPSTORE_KEY }} diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 15a7d506..1e40f5d2 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -67,17 +67,8 @@ platform :ios do end UI.message "Flutter build number: #{flutter_build_number}" - - api_key = app_store_connect_api_key( - key_id: "325JS9JCZH", - issuer_id: "dfa27d1d-2bb8-4d4d-847e-0b32f9b880b3", - key_filepath: auth_key_path, - duration: 1200, - in_house: false, - - ) - match(type: "appstore", readonly: false, api_key: api_key) + match(type: "appstore", readonly: true) # Set build number explicitly instead of incrementing increment_build_number(