Use checksum to skip files for rsync
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7bf7520ea0
commit
5caeddcd47
|
@ -23,7 +23,7 @@ steps:
|
|||
- echo "$${SSH_KEY}" > ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- ssh-keyscan -H cpx.servers.sapti.me > ~/.ssh/known_hosts
|
||||
- rsync -avx --delete ./public cicd@cpx.servers.sapti.me:/opt/docker/nginx/website/
|
||||
- rsync -acvx --delete ./public cicd@cpx.servers.sapti.me:/opt/docker/nginx/website/
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
|
|
Loading…
Reference in a new issue