4th try DroneCI

This commit is contained in:
Stefan H. 2023-02-05 22:20:00 +01:00
parent 45d52b59d5
commit 0b83704103

View file

@ -27,7 +27,7 @@ commands:
image: drillster/drone-rsync image: drillster/drone-rsync
commands: commands:
- eval `ssh-agent -s` - eval `ssh-agent -s`
- 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/ root@server4.unhb.de:/tmp/test/ --checksum - rsync -rv -e "ssh -p 22" /drone/src/build/ root@server4.unhb.de:/tmp/test/ --checksum