🐛 fix: 배포 스크립트 권한 문제 해결 및 방식 개선 #15
Merged
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.
📌 변경 사항 개요
기존의 배포 스크립트를 cp 명령어에서 rsync 기반 방식으로 개선 및 스크립트 권한 문제 해결
✨ 요약
기존의 단순 복사 방식에서 권한 문제를 해결하기 위해 sudo를 이용하여 해결하면 보안적인 문제가 있다고 생각하여 rsync를 활용해서 정석적인 배포 방식으로 변경하여 보안, 효율성 개선
📝 상세 내용
주요 변경사항
cp -r→rsync -av --delete로 변경🔗 관련 이슈
PR #13 권한 오류 해결
🖼️ 스크린샷
✅ 체크리스트
💡 참고 사항