Skip to content

Commit 8587976

Browse files
authored
Update testflight.yml
1 parent abc42dd commit 8587976

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/testflight.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,17 @@ jobs:
2727
- name: install fastlane
2828
run: brew install fastlane
2929

30-
- name: Install certs & profiles (match, readonly)
31-
working-directory: MMM_SideProject
32-
run: bundle exec fastlane match appstore --readonly --verbose
30+
- name: Check required secrets
31+
shell: bash
32+
run: |
33+
set -euo pipefail
34+
test -n "${MATCH_PASSWORD:-}" || (echo "MATCH_PASSWORD missing" && exit 1)
35+
test -n "${MATCH_GIT_URL:-}" || (echo "MATCH_GIT_URL missing" && exit 1)
36+
test -n "${GIT_TOKEN:-}" || (echo "GIT_TOKEN missing" && exit 1)
3337
env:
3438
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
3539
MATCH_GIT_URL: ${{ secrets.MATCH_GIT_URL }}
36-
GIT_TOKEN: ${{ secrets.GIT_TOKEN }} # Https PAT로 private match repo 읽기
40+
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
3741

3842
- name: execute lane
3943
working-directory: MMM_SideProject

0 commit comments

Comments
 (0)