Skip to content

Commit

Permalink
fix: fastlane upload prd testflight action 제약 구문 수정
Browse files Browse the repository at this point in the history
- fastlane upload stg testflight action 코드 리펙토링
- branches event trigger  release 추가
- types  event trigger 제거
  • Loading branch information
Do-hyun-Kim committed Oct 18, 2024
1 parent 0e190a6 commit 8b773d1
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ name: Bibbi
on:
push:
branches:
- feat/*
- fix/*
- release
pull_request:
types:
- closed
branches:
- release
- develop
Expand Down Expand Up @@ -63,10 +60,7 @@ jobs:
run: tuist generate

- name: fastlane upload_prd_testflight
if: >
github.event.pull_request.merged == true &&
github.event.pull_request.base.ref == 'release' &&
github.event.pull_request.head.ref == 'develop'
if: ${{ github.ref == 'refs/heads/release' && github.event_name == 'push' }}
env:
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
Expand All @@ -87,9 +81,7 @@ jobs:


- name: fastlane upload_stg_testflight
if: >
github.event.pull_request.merged == true &&
github.event.pull_request.base.ref == 'develop'
if: ${{ github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'develop' }}
env:
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
Expand Down

0 comments on commit 8b773d1

Please sign in to comment.