ohne target path
Some checks failed
ci/woodpecker/push/build-html-copy-to-server Pipeline failed

This commit is contained in:
Jörg Lohrer 2024-10-30 04:53:00 +00:00
parent 01973a5a16
commit fb8194fa01

View file

@ -48,7 +48,5 @@ steps:
- chmod 600 ~/.ssh/deployKey
- ssh-keyscan -H -p $SSH_PORT $SSH_HOST 2>/dev/null >> ~/.ssh/known_hosts
- chmod 600 ~/.ssh/known_hosts
# TARGET_PATH protokollieren
- sh -c 'echo "Target Path for Deployment: $TARGET_PATH"'
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "mkdir -p $TARGET_PATH"
- scp -r -i ~/.ssh/deployKey -P $SSH_PORT sb/public/* $SSH_USER@$SSH_HOST:$TARGET_PATH/