Skip to content

Commit d464f50

Browse files
committed
Force fresh deployment and add CSS verification for hero styles
1 parent 087efe9 commit d464f50

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,18 @@ jobs:
4242
echo "CSS file found: $CSS_FILE"
4343
echo "CSS file size: $(wc -c < $CSS_FILE) bytes"
4444
# Check if Tailwind classes are present
45-
if grep -q "bg-gradient\|flex\|grid" "$CSS_FILE"; then
45+
if grep -q "bg-gradient\|flex\|grid\|hero-section-new" "$CSS_FILE"; then
4646
echo "✓ Tailwind classes found in CSS"
47+
echo "✓ Custom hero classes found in CSS"
4748
else
4849
echo "WARNING: Tailwind classes not found in CSS"
50+
exit 1
51+
fi
52+
# Check for specific hero styles
53+
if grep -q "from-\[#050505\]\|hero-floating-card" "$CSS_FILE"; then
54+
echo "✓ Hero section styles found"
55+
else
56+
echo "WARNING: Hero section styles missing"
4957
fi
5058
5159
# Popular action to deploy to GitHub Pages:
@@ -58,6 +66,6 @@ jobs:
5866
publish_dir: ./build
5967
user_name: github-actions[bot]
6068
user_email: 41898282+github-actions[bot]@users.noreply.github.com
61-
# Force update to bypass cache
62-
force_orphan: false
69+
# Force fresh deployment
70+
force_orphan: true
6371
cname: kubesimplify.com

0 commit comments

Comments
 (0)