-
Notifications
You must be signed in to change notification settings - Fork 2
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
refactor: Build시 appleboy/[email protected] 속도 개선 #216
Conversation
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.
LGTM
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.
lgtm
근데 scp-action이 오래 걸리는 원인이 뭐였나요?
scp-action의 동작은 해당 파일(docker-compose.yml)이 변경되지 않아도 항상 복사를 진행하기 때문에 변경된 action은 rsync로 remote-update 프로토콜을 이용해서 첫 동작에서만 파일을 복사하고, 그 이후부터는 다른 부분만 복사하기 때문에 빠르고 효율적입니당. |
b131d1d
to
b53421c
Compare
|
🌱 관련 이슈
appleboy/[email protected]
속도 개선 #200📌 작업 내용 및 특이사항
appleboy/[email protected]
를 사용하여docker-compose.yml
을 항시 복사하고 있습니다.docker-compose.yml
의 변경과 없이 항상 실행되며 약 30s가 걸린다.burnett01/rsync-deployments
사용burnett01/rsync-deployments
의 switches 옵션-a: archive
-v: verbose
-z: compress
-r: recursive
--delete: delete files that are not in the source directory
📝 참고사항