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