Skip to content

Commit

Permalink
[chore] #135 testflight 릴리즈 워크플로우 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapeKim98 committed Oct 3, 2024
1 parent fadfdcd commit 2b50d90
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
name: build-test

on:
# pull_request:
# branches: [ "develop" ]
push:
branches: [ "feature/#135-cicd-improvement" ]
pull_request:
branches: [ "develop" ]

workflow_dispatch:

jobs:
build:
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/testflight_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
push:
branches: [ "develop" ]

workflow_dispatch:

jobs:
build:
runs-on: macos-latest
Expand Down Expand Up @@ -36,10 +38,10 @@ jobs:
- name: Generate Project
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_URL: ${{ secrets.MATCH_URL }}
APP_STORE_CONNECT_TEAM_ID: ${{ secrets.APP_STORE_CONNECT_TEAM_ID }}
DEVELOPMENT_TEAM: ${{ secrets.DEVELOPMENT_TEAM }}
run: fastlane generate
run: |
fastlane appstore_profile
make release
- name: Build Archive
env:
Expand All @@ -48,9 +50,9 @@ jobs:
APP_STORE_CONNECT_API: ${{ secrets.APP_STORE_CONNECT_API }}
run: fastlane archive

- name: Beta Release
- name: Testflight Release
env:
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }}
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
APP_STORE_CONNECT_API: ${{ secrets.APP_STORE_CONNECT_API }}
run: fastlane release
run: fastlane testflight_release
5 changes: 3 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ platform :ios do
)
end

lane :release do
lane :testflight_release do
api_key = app_store_connect_api_key(
key_id: ENV['APP_STORE_CONNECT_KEY_ID'],
issuer_id: ENV['APP_STORE_CONNECT_ISSUER_ID'],
Expand All @@ -79,7 +79,8 @@ platform :ios do

upload_to_testflight(
api_key: api_key,
distribute_external: false,
distribute_external: true,
groups: ["Pokitmons"],
changelog: ""
)
end
Expand Down

0 comments on commit 2b50d90

Please sign in to comment.