Skip to content

Deploy Testflight

Deploy Testflight #12

name: Deploy Testflight
on:
workflow_call:
workflow_dispatch:
jobs:
deploy-testflight:
name: Deploy Testflight
runs-on: macos-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
ref: 'beta'
- name: Decode Firebase Options
run: echo "${{ secrets.FIREBASE_OPTIONS }}" > lib/firebase_options.dart
- name: Decode Google Service Info Plist
run : echo "${{ secrets.GOOGLE_SERVICE_INFO_PLIST}}" > ios/Runner/GoogleService-Info.plist
- name: Install flutter sdk
uses: subosito/[email protected]
with:
channel: stable
cache: true
flutter-version-file: pubspec.yaml
- run: flutter --version
- run: flutter pub get
- run: flutter build ipa --release --no-codesign
- run: fastlane beta
working-directory: ./ios
env:
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
APPLE_DEV_USERNAME: ${{ secrets.APPLE_DEV_USERNAME }}
APPSTORECONNECT_API_KEY_ID: ${{ secrets.APPSTORECONNECT_API_KEY_ID }}
APPSTORECONNECT_API_ISSUER_ID: ${{ secrets.APPSTORECONNECT_API_ISSUER_ID }}
APPSTORECONNECT_API_KEY: ${{ secrets.APPSTORECONNECT_API_KEY }}