Another correction of upload destination

This commit is contained in:
Stefan H. 2023-02-06 13:29:56 +01:00
parent 2b07291efc
commit e006c2fbb5

View file

@ -31,7 +31,7 @@ steps:
- 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/ 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 - scp -P 22222 -r /drone/src/build/* hadr@server4.un-hack-bar.de:/htdocs/
environment: environment:
SSH_KEY: SSH_KEY:
from_secret: drone_ssh_key from_secret: drone_ssh_key