From d3445712fc54332e30595cdf1aecb6edf351196a Mon Sep 17 00:00:00 2001 From: Ludger Sicking Date: Tue, 3 Dec 2024 11:38:40 +0100 Subject: [PATCH] Deployment: Logik bei Pull Requests erproben 013 --- .woodpecker/build_and_copy_blog.yaml | 5 ++--- sb/scripts/kein-helferlein.sh | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 sb/scripts/kein-helferlein.sh diff --git a/.woodpecker/build_and_copy_blog.yaml b/.woodpecker/build_and_copy_blog.yaml index 5fc6cde..9be506b 100644 --- a/.woodpecker/build_and_copy_blog.yaml +++ b/.woodpecker/build_and_copy_blog.yaml @@ -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')" \ No newline at end of file + - ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "touch $DOMAIN_FOLDER/log/time_end_copy_$(date +'%Y-%m-%d_%T')" \ No newline at end of file diff --git a/sb/scripts/kein-helferlein.sh b/sb/scripts/kein-helferlein.sh deleted file mode 100644 index 3d2f66f..0000000 --- a/sb/scripts/kein-helferlein.sh +++ /dev/null @@ -1,2 +0,0 @@ -#Woodpecker hat keinen Humor. -#provoziere einen build run \ No newline at end of file