Deployment: Logik bei Pull Requests erproben 013
All checks were successful
ci/woodpecker/push/build_and_copy_blog Pipeline was successful

This commit is contained in:
Ludger Sicking 2024-12-03 11:38:40 +01:00
parent 1a61e521da
commit d3445712fc
2 changed files with 2 additions and 5 deletions

View file

@ -10,7 +10,6 @@ steps:
image: alpine
commands:
- date -I'seconds'
- adjtimex
- name: build_by_hugo
image: hugomods/hugo
@ -41,6 +40,6 @@ steps:
- chmod 600 ~/.ssh/deployKey
- ssh-keyscan -H -p $SSH_PORT $SSH_HOST 2>/dev/null >> ~/.ssh/known_hosts
- chmod 600 ~/.ssh/known_hosts
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "touch $DOMAIN_FOLDER/log/time_begin_copy_$(date +'%Y-%m-%d_%T_%N')"
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "touch $DOMAIN_FOLDER/log/time_begin_copy_$(date +'%Y-%m-%d_%T')"
- scp -r -i ~/.ssh/deployKey -P $SSH_PORT sb/public/* $SSH_USER@$SSH_HOST:$DOMAIN_FOLDER/$TARGET_PATH/
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "touch $DOMAIN_FOLDER/log/time_end_copy_$(date +'%Y-%m-%d_%T_%N')"
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "touch $DOMAIN_FOLDER/log/time_end_copy_$(date +'%Y-%m-%d_%T')"

View file

@ -1,2 +0,0 @@
#Woodpecker hat keinen Humor.
#provoziere einen build run