Skip to content

Commit 7b67214

Browse files
authored
Merge pull request #52 from devops-actions/copilot/fix-51
Fix smoketest CSS bundle test broken pipe issue
2 parents 0791988 + 434f4d4 commit 7b67214

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-
CSS_CONTENT=$(curl -fsSL "$CSS_URL" | head -c 500 || true)
143+
CSS_CONTENT=$(curl -fsSL "$CSS_URL" || exit 1)
144+
144145
if echo "$CSS_CONTENT" | grep -q "body\|html\|\."; then
145146
echo "✅ CSS bundle is accessible and contains expected styles"
146147
else

0 commit comments

Comments
 (0)