This commit is contained in:
parent
eabf85800d
commit
bbc58cb4c6
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ steps:
|
||||||
- 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 22222" /drone/src/build/ root@server4.unhb.de:/htdocs/ --checksum
|
||||||
environment:
|
environment:
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: drone_ssh_key
|
from_secret: drone_ssh_key
|
||||||
|
|
Loading…
Reference in a new issue