drone ci rsync test
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
oDinZu 2022-05-09 22:30:39 -04:00
parent ce70670569
commit 53aa886c01

View File

@ -68,11 +68,12 @@ steps:
- mkdir -p /root/.ssh/ && touch /root/.ssh/id_rsa && touch /root/.ssh/id_rsa.pub
- echo -n "$RSA_KEY" > /root/.ssh/id_rsa
- echo -n "$RSA_PUB_KEY" > /root/.ssh/id_rsa.pub
- cp /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys
- chmod 600 /root/.ssh/id_rsa && chmod 600 /root/.ssh/id_rsa.pub
- ls -al /root/.ssh/ && ls /
- eval `ssh-agent -s`
#- ssh-add /root/.ssh/id_rsa
- cp /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys
# add git.sharpetronics.com to known hosts
- touch /root/.ssh/known_hosts