ich will zum Testen gar nicht kopieren
Some checks are pending
ci/woodpecker/push/build_and_copy_blog Pipeline is pending approval

This commit is contained in:
Ludger Sicking 2024-11-04 15:15:25 +01:00
parent 72653c9767
commit e3ea40da8a

View file

@ -49,6 +49,11 @@ steps:
- SSH_COMMAND="touch $BLOG_FOLDER/touchdown-txt_dot-log"
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST $SSH_COMMAND
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST 'ls -la'
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST 'ls -la $BLOG_FOLDER'
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "ls -la $BLOG_FOLDER"
- SSH_COMMAND="mkdir -p "$BLOG_FOLDER/_unter_ordner; touch $BLOG_FOLDER/_unter_ordner/_eine_datei"
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST $SSH_COMMAND
- SSH_COMMAND="rmdir -p "$BLOG_FOLDER/_unter_ordner"
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST $SSH_COMMAND
- scp -r -i ~/.ssh/deployKey -P $SSH_PORT sb/public/* $SSH_USER@$SSH_HOST:$BLOG_FOLDER/