From 975ac790595419b11fc26a5eca94d85389ab0d29 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Wed, 11 Mar 2026 00:32:01 +0100 Subject: [PATCH] fix(pipeline): allow more response codes for datasheet accessibility check --- .gitea/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 22896fbe..a01199af 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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'