3rd try with DroneCI (Fixed markdown escape characters)

This commit is contained in:
Stefan H. 2023-02-05 22:18:44 +01:00
parent 31d1e9e96b
commit 45d52b59d5

View file

@ -29,8 +29,8 @@ 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
environment: environment:
SSH\_KEY: SSH_KEY:
from\_secret: drone\_ssh\_key from_secret: drone_ssh_key