fix(pipeline): allow more response codes for datasheet accessibility check
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 24s
Build & Deploy / 🧪 QA (push) Successful in 3m11s
Build & Deploy / 🏗️ Build (push) Successful in 6m29s
Build & Deploy / 🚀 Deploy (push) Successful in 54s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 7m13s
Build & Deploy / 🔔 Notify (push) Successful in 3s

This commit is contained in:
2026-03-11 00:32:01 +01:00
parent eae46d3048
commit 975ac79059

View File

@@ -573,7 +573,7 @@ jobs:
echo "Checking if datasheets directory is reachable..."
# This checks if the /datasheets/ directory returns a valid response (200, 403, or 404 is technically reachable, but we'd prefer 200/403)
# Since the files are in public/datasheets/products/, we check that path.
curl -I -s -o /dev/null -w "%{http_code}" "$TEST_URL/datasheets/products/" | grep -E "200|403|404"
curl -I -L -s -o /dev/null -w "%{http_code}" "$TEST_URL/datasheets/products/" | grep -E "200|301|302|403|404"
- name: 📝 E2E Form Submission Test
if: always() && steps.deps.outcome == 'success'