CI: Change path on remote server
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sam A. 2023-04-21 00:25:16 +02:00
parent 5caeddcd47
commit 7b3ff71bfa
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -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