2nd Test with DroneCI

This commit is contained in:
Stefan H. 2023-02-05 22:16:34 +01:00
parent ad439d4d03
commit 31d1e9e96b

View file

@ -30,7 +30,7 @@ commands:
- echo "$SSH\_KEY" | ssh-add - - echo "$SSH\_KEY" | ssh-add -
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo -e "Host \*\\n\\tStrictHostKeyChecking no\\n\\n" > ~/.ssh/config - echo -e "Host \*\\n\\tStrictHostKeyChecking no\\n\\n" > ~/.ssh/config
- rsync -rv -e "ssh -p 22" /drone/src/build/ drone@server4.unhb.de:/tmp/test --checksum - rsync -rv -e "ssh -p 22" /drone/src/build/ root@server4.unhb.de:/tmp/test/ --checksum
environment: environment:
SSH\_KEY: SSH\_KEY:
from\_secret: drone\_ssh\_key from\_secret: drone\_ssh\_key