Corrected SSH user
Some checks failed
continuous-integration/drone/push Build is failing

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 - - 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 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: environment:
SSH_KEY: SSH_KEY:
from_secret: drone_ssh_key from_secret: drone_ssh_key