Correct upload command
This commit is contained in:
parent
6a168538cd
commit
2b07291efc
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ 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/ hadr@server4.unhb.de:/htdocs/ --checksum
|
||||
# - rsync -rv -e "ssh -p 22222" /drone/src/build/ hadr@server4.unhb.de:/htdocs/ --checksum
|
||||
- scp -P 22222 -r /drone/src/build/ hadr@server4.un-hack-bar.de:/htdocs
|
||||
environment:
|
||||
SSH_KEY:
|
||||
from_secret: drone_ssh_key
|
||||
|
|
Loading…
Reference in a new issue