Skip to content

Commit a33c9cc

Browse files
committed
ci: 프로파일 강제 갱신 옵션 추가
1 parent eeb3245 commit a33c9cc

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/sync-code-signing.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@ name: iOS Code Signing
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
force:
7+
description: Force regenerate profiles
8+
required: true
9+
default: "true"
10+
type: choice
11+
options:
12+
- "true"
13+
- "false"
514

615
env:
716
RUBY_VERSION: "3.2"
@@ -13,6 +22,7 @@ env:
1322
MATCH_GIT_URL: ${{ secrets.MATCH_GIT_URL }}
1423
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
1524
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
25+
MATCH_FORCE: ${{ inputs.force }}
1626

1727
permissions:
1828
contents: read

fastlane/Fastfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,13 @@ platform :ios do
131131

132132
lane :sync_appstore_profiles do
133133
api_key = asc_api_key
134+
match_force = ENV.fetch("MATCH_FORCE", "false") == "true"
134135

135136
match(
136137
api_key: api_key,
137138
type: "appstore",
138139
app_identifier: APP_IDENTIFIERS,
139-
force: true,
140+
force: match_force,
140141
readonly: false
141142
)
142143
end

0 commit comments

Comments
 (0)