.woodpecker/build-html-copy-to-server.yaml aktualisiert

This commit is contained in:
Jörg Lohrer 2024-10-30 04:49:44 +00:00
parent 02360a8982
commit 01973a5a16

View file

@ -49,6 +49,6 @@ steps:
- ssh-keyscan -H -p $SSH_PORT $SSH_HOST 2>/dev/null >> ~/.ssh/known_hosts
- chmod 600 ~/.ssh/known_hosts
# TARGET_PATH protokollieren
- echo "Target Path for Deployment: $TARGET_PATH"
- 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/