CI: Change path on remote server
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
5caeddcd47
commit
7b3ff71bfa
|
@ -23,7 +23,7 @@ steps:
|
||||||
- echo "$${SSH_KEY}" > ~/.ssh/id_ed25519
|
- echo "$${SSH_KEY}" > ~/.ssh/id_ed25519
|
||||||
- chmod 600 ~/.ssh/id_ed25519
|
- chmod 600 ~/.ssh/id_ed25519
|
||||||
- ssh-keyscan -H cpx.servers.sapti.me > ~/.ssh/known_hosts
|
- ssh-keyscan -H cpx.servers.sapti.me > ~/.ssh/known_hosts
|
||||||
- rsync -acvx --delete ./public cicd@cpx.servers.sapti.me:/opt/docker/nginx/website/
|
- rsync -acvx --delete ./public cicd@cpx.servers.sapti.me:/opt/docker/samsapti.dev/
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
Loading…
Reference in a new issue