From 3b49786ba8430b04723275d478c556a967f40c5b Mon Sep 17 00:00:00 2001 From: error7404 <48163201+error7404@users.noreply.github.com> Date: Wed, 21 Aug 2024 18:57:45 +0200 Subject: [PATCH] chore: Update theme_auto_label.yml with additional environment variables --- .github/workflows/theme_auto_label.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/theme_auto_label.yml b/.github/workflows/theme_auto_label.yml index b7a6d3a42..680655dfe 100644 --- a/.github/workflows/theme_auto_label.yml +++ b/.github/workflows/theme_auto_label.yml @@ -51,8 +51,8 @@ jobs: if ! curl --output /dev/null --silent --head --fail "$url" -H "User-Agent: $USER_AGENT"; then echo "❌ Error: Request Failed ($(curl --output /dev/null --silent --head --fail "$url" -H "User-Agent: $USER_AGENT" -w "%{http_code}"))" >> $GITHUB_STEP_SUMMARY echo "URL is invalid or Cloudflare issue or site is down" >> $GITHUB_STEP_SUMMARY - curl -v "$url" -H "User-Agent: $USER_AGENT" > curl_output_${protocol}.txt 2>&1 - curl "$url" -H "User-Agent: $USER_AGENT" > curl_output_${protocol}.html + curl -v -s "$url" -H "User-Agent: $USER_AGENT" > curl_output_${protocol}.txt 2>&1 + curl -s "$url" -H "User-Agent: $USER_AGENT" > curl_output_${protocol}.html return 1 fi return 0