Repository navigation
fix: 이전 빌드 결과물이 버킷에 누적되는 문제 - #385
Merged
Merged
Conversation
- env 블럭에 다 넣어두기 - .env 세팅용 job 삭제
- 현재 빌드 결과물만 남기고 전부 제거
nijuy
added a commit
that referenced
this pull request
Jan 12, 2026
* fix(ci): 환경 변수 설정 방식 통일 - env 블럭에 다 넣어두기 - .env 세팅용 job 삭제 * fix(ci): aws s3 커맨드 수정 (cp -> sync) - 현재 빌드 결과물만 남기고 전부 제거
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.
💻 개요
📋 변경 및 추가 사항
s3 버킷 내에 이전 빌드 산출물이 계속 누적되는 문제가 있었습니다.
aws cp커맨드는 단순 복사를 수행하기 때문에, 빌드 시 파일명에 해시가 붙는 경우 새 파일이 추가로 업로드됩니다(파일명이 같으면 덮어씌워지는데, 해시가 붙어 이름이 달라지면 새 파일 추가를 함 = 기존 파일 정리가 안 됨 ^ ^ ....)
➡️
aws cp를aws sync로 교체했습니다. 이전 빌드 파일 정리를 위해--delete옵션을 사용했습니다.yml 파일 내에서 필요한 환경 변수는 모두
env블록에서 정의하도록 수정했습니다.Set Environment Variablesjob은 삭제했습니다.💬 To. 리뷰어