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
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.
💬 Describe
📑 Task
앞으로는 develop 브랜치로 PR을 올리면 GitHub Actions가 자동으로 빌드 테스트를 수행해요. 이를 통해 main 브랜치(배포 브랜치)에 의도치 않은 에러가 반영되는 것을 사전에 방지할 수 있어요.
현재 저희는 Vercel을 통해 프로젝트를 배포하고 있어요. 하지만 Vercel은 organization 계정으로 배포할 경우 유료 플랜이 필요해요. 그래서 SOPT-ALL organization의 레포지토리를 제 계정으로 fork한 뒤, 제 개인 레포지토리를 Vercel과 연동해서 배포를 진행했어요.
그리고 CD(Continuous Deployment)를 자동화하기 위해 GitHub Actions를 활용해서, organization 레포지토리의 main 브랜치 변경사항이 있을 때 자동으로 제 개인 레포지토리에 반영되도록 설정했어요. 이 과정에서는 제 GitHub 계정의 Personal Access Token을 GitHub Secrets에 등록해서, 권한이 있는 사용자로서 대상 레포지토리에 접근하고 변경사항을 푸시할 수 있도록 구성했어요.
📸 Screenshot
[ 빌드 실패 ]
[ 빌드 성공 ]