fixed escaping

This commit is contained in:
Stefan H. 2023-02-05 22:25:29 +01:00
parent a6de57b653
commit e42f325487

View file

@ -29,7 +29,7 @@ steps:
- 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: