We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 99d539e + f11309f commit 05f2412Copy full SHA for 05f2412
1 file changed
.github/workflows/deploy-to-pages.yml
@@ -140,7 +140,8 @@ jobs:
140
fi
141
142
echo "Testing CSS bundle at: $CSS_URL"
143
- if curl -fsSL "$CSS_URL" | head -c 500 | grep -q "body\|html\|\."; then
+ CSS_CONTENT=$(curl -fsSL "$CSS_URL" | head -c 500 || true)
144
+ if echo "$CSS_CONTENT" | grep -q "body\|html\|\."; then
145
echo "✅ CSS bundle is accessible and contains expected styles"
146
else
147
echo "❌ CSS bundle is not accessible or doesn't contain expected styles"
0 commit comments