Skip to content

Commit 24ca16c

Browse files
committed
#113 docs: testflight.yml 워크플로우 파일 수정하여 가상 환경에서 Testflight 배포 작업까지 할 수 있도록 작성
1 parent 4d251ed commit 24ca16c

File tree

1 file changed

+50
-7
lines changed

1 file changed

+50
-7
lines changed

.github/workflows/testflight.yml

+50-7
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
1-
# This workflow will build a Swift project
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3-
4-
name: testflight
1+
name: Build-And-Deploy-Testflight
52

63
on:
74
workflow_dispatch:
85

96
jobs:
107
testflight:
11-
name: testflight
8+
name: Build and Deploy Testflight
129
runs-on: macOS-latest
1310
strategy:
1411
matrix:
15-
ruby: ['2.7']
12+
ruby: ['3.1']
1613

1714
steps:
1815
- name: Checkout Repository
19-
uses: actions/checkout@v3
16+
uses: actions/checkout@v2
17+
18+
- name: Access Match Repository via SSH
19+
uses: shimataro/ssh-key-action@v2
20+
with:
21+
key: ${{ secrets.SSH_KEY }}
22+
known_hosts: ${{ secrets.KNOWN_HOSTS }}
2023

2124
- name: Set up Ruby
2225
uses: ruby/setup-ruby@v1
@@ -25,3 +28,43 @@ jobs:
2528

2629
- name: Set up Fastlane
2730
run: brew install fastlane
31+
32+
- name: Install Tuist
33+
run: |
34+
curl -Ls https://install.tuist.io | bash
35+
36+
- name: Generate Xcode project using Tuist
37+
run: tuist fetch; tuist generate
38+
39+
- name: Deploy iOS Beta to TestFlight via Fastlane
40+
run: fastlane beta
41+
env:
42+
# Developer Info
43+
FASTLANE_APPLE_ID: '${{ secrets.FASTLANE_APPLE_ID }}'
44+
APP_STORE_CONNECT_TEAM_ID: '${{ secrets.APP_STORE_CONNECT_TEAM_ID }}'
45+
DEVELOPER_PORTAL_TEAM_ID: '${{ secrets.DEVELOPER_PORTAL_TEAM_ID }}'
46+
47+
# App Info
48+
DEVELOPER_APP_ID: '${{ secrets.DEVELOPER_APP_ID }}'
49+
DEVELOPER_APP_IDENTIFIER: '${{ secrets.DEVELOPER_APP_IDENTIFIER }}'
50+
51+
# Provisioning Profile Info
52+
PROVISIONING_PROFILE_SPECIFIER: '${{ secrets.PROVISIONING_PROFILE_SPECIFIER }}'
53+
54+
# Match
55+
MATCH_PASSWORD: '${{ secrets.MATCH_PASSWORD }}'
56+
57+
# Temporary Keychain Info
58+
TEMP_KEYCHAIN_PASSWORD: '${{ secrets.TEMP_KEYCHAIN_PASSWORD }}'
59+
TEMP_KEYCHAIN_USER: '${{ secrets.TEMP_KEYCHAIN_USER }}'
60+
61+
# Apple API Info
62+
APPLE_KEY_ID: '${{ secrets.APPLE_KEY_ID }}'
63+
APPLE_ISSUER_ID: '${{ secrets.APPLE_ISSUER_ID }}'
64+
APPLE_KEY_CONTENT: '${{ secrets.APPLE_KEY_CONTENT }}'
65+
66+
# Git Authorization
67+
GIT_AUTHORIZATION: '${{ secrets.GIT_AUTHORIZATION }}'
68+
69+
# Slack
70+
SLACK_URL: '${{ secrets.SLACK_URL }}'

0 commit comments

Comments
 (0)