Skip to content

Commit

Permalink
chore: Update theme_auto_label.yml with additional environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
error7404 committed Aug 21, 2024
1 parent 6b185a7 commit 3b49786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/theme_auto_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b49786

Please sign in to comment.