From a821dbb87b85c2b5e8648b5d038ce8a2aeedecc8 Mon Sep 17 00:00:00 2001 From: Ludger Sicking Date: Tue, 1 Apr 2025 16:37:03 +0200 Subject: [PATCH] "deaktiviere" Deploy-Pipeline --- .woodpecker/build_and_copy_website.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.woodpecker/build_and_copy_website.yaml b/.woodpecker/build_and_copy_website.yaml index 2755b2443..be968cd39 100644 --- a/.woodpecker/build_and_copy_website.yaml +++ b/.woodpecker/build_and_copy_website.yaml @@ -16,10 +16,10 @@ steps: commands: - mkdir Website/PROD - hugo version - - hugo -s Website -d PROD --logLevel debug - - grep "zielt FOERBICO auf die Vernetzung" Website/PROD/index.html # enthält index.html auch den Inhalt der Startseite? - - grep localhost Website/PROD/index.html # hat sich beim build ein Fehler eingeschlichen? - - grep -E 'href.+favicon.ico' Website/PROD/index.html | cut -d= -f3 # baseURL ausgeben + #- hugo -s Website -d PROD --logLevel debug + # - grep "zielt FOERBICO auf die Vernetzung" Website/PROD/index.html # enthält index.html auch den Inhalt der Startseite? + # - grep localhost Website/PROD/index.html # hat sich beim build ein Fehler eingeschlichen? + # - grep -E 'href.+favicon.ico' Website/PROD/index.html | cut -d= -f3 # baseURL ausgeben - name: copy_to_server image: alpine @@ -45,7 +45,7 @@ steps: - 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')" - - scp -r -i ~/.ssh/deployKey -P $SSH_PORT Website/PROD/* $SSH_USER@$SSH_HOST:$DOMAIN_FOLDER/$TARGET_PATH/ +# - scp -r -i ~/.ssh/deployKey -P $SSH_PORT Website/PROD/* $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')" - name: log_end_time