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)"