chore: develop pull request, develop build deploy 워크플로 환경 변수 설정 스텝 수정#12
Merged
chore: develop pull request, develop build deploy 워크플로 환경 변수 설정 스텝 수정#12
Conversation
myqewr
approved these changes
Mar 8, 2025
e05e084 to
937c908
Compare
937c908 to
d6441fb
Compare
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.
🌱 관련 이슈
📌 작업 내용 및 특이사항
secrets에 설정해둔 정보를$GITHUB_ENV로 등록하는 스텝에서는 마스킹 처리가 되지만 그 이후 스텝들에서 github actions env 를 보면 마스킹 처리가 되어있지 않아 그대로 노출되고 있었습니다🔍 참고사항
[ 트러블 슈팅 ]
$GITHUB_ENV를 마스킹 처리한 방법 (1ea3cc2, d6441fb) ❌.env파일로 관리하고 해당 파일을 워크플로 환경변수로 사용하는 방법 (29616b3) ❌$GITHUB_ENV로 등록하지 않거나 각 스텝마다 환경변수를 export 해주지 않으면 환경변수를 전역적으로 사용할 수 없음.env파일로 관리하고 스프링부트 테스트 시.env파일을 로드해 환경변수로 적용하는 방법 (9b59859) 🟢secrets.ENV값을 기반으로.env파일을 생성해 스프링부트 테스트 실행 시 해당 파일을 로드해 환경변수로 적용하도록 설정📚 기타