From 2b07291efcf91d394f0f72b5636411cb80ace993 Mon Sep 17 00:00:00 2001 From: Stefan H Date: Mon, 6 Feb 2023 13:26:14 +0100 Subject: [PATCH] Correct upload command --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9ad7f79..332040f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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