From 030690a5159003e54e4ff486045dac68a475e77a Mon Sep 17 00:00:00 2001 From: oDinZu Date: Tue, 10 May 2022 00:37:06 -0400 Subject: [PATCH] drone ci rsync test --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index a9aa29a..3ed06ea 100644 --- a/.drone.yml +++ b/.drone.yml @@ -54,8 +54,8 @@ steps: # write the ssh key to disk for rsync handshake to remote server - ssh-keygen -t ed25519 -f ~/.ssh/id_rsa -N '' - cat ~/.ssh/id_rsa.pub - - echo -n $SERVER_PASS > ~/password.txt - touch ~/password.txt + - echo -n $SERVER_PASS > ~/password.txt - echo $SERVER_PASS - cat ~/password.txt - sshpass -fv "~/password.txt" ssh-copy-id -i ~/.ssh/id_rsa.pub odinzu@45.33.119.101