-
Notifications
You must be signed in to change notification settings - Fork 0
[Setting] TestFlight 배포 자동화를 위한 Github Actions 도입 #117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 task
JinUng41
approved these changes
Mar 8, 2025
Collaborator
JinUng41
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
짜장면한테 이유진 음악을 들려 줬더니 짜장면이 저절로 비벼졌습니다.
정말 끝까지 물고 늘어지는 모습에 제가 감동을 받았습니다.
감사합니다!
youz2me
added a commit
that referenced
this pull request
Oct 26, 2025
[Setting] TestFlight 배포 자동화를 위한 Github Actions 도입
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
👻 PULL REQUEST
📄 작업 내용
main브랜치로push트리거가 발생했을 때 자동으로 Build, Archive, Export 및 TestFlight 배포를 수행하도록 세팅했어요.💻 주요 코드 설명
Github Actions Workflow 설정 (
main.yml)main.yml파일에서는 Github Actions가 어떤 조건에서 무엇을 수행해야 하는지 정의합니다.main,develop,feature로 분기되어 있어 릴리즈(또는 QA) 시main브랜치로push를 진행하게 되면 자동으로 워크플로가 실행되도록 설정했습니다..gitignore로 인해 actions가 인식할 수 없는config와googleservice-info의 경우 원격 레포에 Repository Secret을 등록해 환경 변수로 사용했습니다.secrets.DEVELOPMENT_XCCONFIG처럼 사용합니다.base64인코딩 후 등록했습니다.대략적인 흐름 설명
graph TD A[코드 체크아웃] --> B[키체인 설정] B --> C[설정 파일 생성] C --> D[GoogleService-Info.plist 생성] D --> E[코드 서명 설정] E --> F[버전 업데이트] F --> G[빌드] G --> H[아카이브] H --> I[Export] I --> J[TestFlight 업로드] J --> K[Slack 알림]Slack에Failure알림을 전달합니다.push가 발생한 시각의main브랜치의 코드를 가져오고 앱 배포를 위한 키체인을 생성하고 설정합니다.base64형식으로 디코딩해 파일로 저장합니다.ios-bump-version을 이용해 앱의 빌드 정보를 자동으로 올립니다. (원래 1이었을 경우 2로 배포)📚 참고자료
[CI/CD] Github Actions 를 이용한 TestFlight 업로드 자동화
[CI/CD] GitHub Actions로 TestFlight 배포 자동화하기
펫프렌즈 iOS 플랫폼의 Github Actions & SPM 도입하기
👀 기타 더 이야기해볼 점
p12,mobileprovision파일은 모두 암호화되어 올라가 있는 상태입니다. 보안에는 문제 없습니다!🔗 연결된 이슈