-
Notifications
You must be signed in to change notification settings - Fork 1
chore: .env 파일 전체를 하나의 Secret으로 관리하도록 변경 #24
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
Conversation
|
Summary by CodeRabbit
WalkthroughGitHub Actions 워크플로우(.github/workflows/cd.yml 및 .github/workflows/ci.yml)에서 Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as 개발자
participant GH as GitHub Actions
participant Runner as Runner
participant Repo as Repository
participant Secret as DOTENV_FILE Secret
participant FS as src/main/resources/.env
Dev->>GH: push / tag
GH->>Runner: workflow 실행
Runner->>Repo: checkout
Note over Runner,Secret: .env 생성 단계 변경
Runner->>Secret: 읽기 `secrets.DOTENV_FILE`
Secret-->>Runner: .env 내용 반환
Runner->>FS: `printf "%s" "$DOTENV_FILE" > src/main/resources/.env`
Note right of FS: 단일 시크릿으로 .env 생성
Runner->>Runner: 이후 단계 실행 (변경 없음)
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
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 |
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.
Related issue 🛠
Work Description ✏️
SLACK_WEBHOOK_CREW_DEV_BE,SLACK_WEBHOOK_CREW_DEV_FE,SLACK_WEBHOOK_CREW_PROD_BE,SLACK_WEBHOOK_CREW_PROD_FE)을 하나의DOTENV_FILESecret으로 통합하여 워크플로우 코드를 간소화했습니다.주요 변경사항
.env파일 생성 로직을 10줄에서 3줄로 단축Trouble Shooting ⚽️