Corrected SSH user

This commit is contained in:
Stefan H. 2023-02-06 13:11:28 +01:00
parent bbc58cb4c6
commit 6a168538cd

View file

@ -30,7 +30,7 @@ steps:
- echo "$SSH_KEY" | ssh-add -
- mkdir -p ~/.ssh
- echo -e "Host *\\n\\tStrictHostKeyChecking no\\n\\n" > ~/.ssh/config
- rsync -rv -e "ssh -p 22222" /drone/src/build/ root@server4.unhb.de:/htdocs/ --checksum
- rsync -rv -e "ssh -p 22222" /drone/src/build/ hadr@server4.unhb.de:/htdocs/ --checksum
environment:
SSH_KEY:
from_secret: drone_ssh_key