Skip to content

Commit 05f2412

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/npm-dependencies-68bba08d70
2 parents 99d539e + f11309f commit 05f2412

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy-to-pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ jobs:
140140
fi
141141
142142
echo "Testing CSS bundle at: $CSS_URL"
143-
if curl -fsSL "$CSS_URL" | head -c 500 | grep -q "body\|html\|\."; then
143+
CSS_CONTENT=$(curl -fsSL "$CSS_URL" | head -c 500 || true)
144+
if echo "$CSS_CONTENT" | grep -q "body\|html\|\."; then
144145
echo "✅ CSS bundle is accessible and contains expected styles"
145146
else
146147
echo "❌ CSS bundle is not accessible or doesn't contain expected styles"

0 commit comments

Comments
 (0)