feat: add manual k8s preview deployment workflow - #94
Open
khyeon1003 wants to merge 2 commits into
Open
khyeon1003 wants to merge 2 commits into
khyeon1003 wants to merge 2 commits into
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
khyeon1003
marked this pull request as ready for review
June 30, 2026 15:09
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.
작업 내용 정리
workflow_dispatch기반 수동 실행inputs.deploy_name을 통해 preview 대상 이름을 입력inputs.deploy_env는 optional input으로 처리overlays/{deploy_env}경로를 우선 사용overlays경로를 사용latest태그는 갱신X환경 변수 처리
NEXT_PUBLIC_API_BASE_URL만 preview 도메인 규칙에 맞게 별도 처리NEXT_PUBLIC_API_BASE_URL=https://${{ env.DEPLOY_NAME }}-api${{ inputs.deploy_env && inputs.deploy_env || '' }}.uoslife.com예시:
deploy_name=yonghyeon,deploy_env없음:https://yonghyeon-api.uoslife.comdeploy_name=yonghyeon,deploy_env=dev:https://yonghyeon-apidev.uoslife.com환경 변수 정리
NEXT_PUBLIC_*환경 변수는 빌드 시점에 클라이언트 번들에 포함NEXT_PUBLIC_API_BASE_URL은 Docker build 단계에서 명시적으로 주입하도록 처리