From 5b037d7e0c034babb812641e7bb9099d3b98e2eb Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sun, 4 Oct 2026 15:50:26 +0200 Subject: [PATCH] ci: smoke test checks the addresses of both languages Since the German version the legal pages live at /impressum and /datenschutz and under /en/imprint and /en/privacy. The smoke test still expected /imprint and /privacy to answer 200 and /impressum to redirect, so it has been red on every deploy while the site was fine. A check that is always red no longer shows a real outage. Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 1520129..0e2f632 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -477,8 +477,8 @@ jobs: run: | BASE_URL="${{ needs.prepare.outputs.next_public_url }}" - # The legal pages must be reachable. - for PAGE in /imprint /privacy; do + # The legal pages must be reachable in both languages. + for PAGE in /impressum /datenschutz /en/imprint /en/privacy; do STATUS=$(curl -s -o /dev/null -w "%{http_code}" "$BASE_URL$PAGE") if [ "$STATUS" != "200" ]; then echo "❌ $PAGE failed! (Status: $STATUS)" @@ -488,7 +488,7 @@ jobs: done # URLs of the previous site must redirect instead of returning 404. - for OLD in /blog /contact /websites /case-studies/klz-cables /impressum; do + for OLD in /blog /contact /websites /case-studies/klz-cables; do STATUS=$(curl -s -o /dev/null -w "%{http_code}" "$BASE_URL$OLD") if [ "$STATUS" != "308" ]; then echo "❌ $OLD does not redirect! (Status: $STATUS)"