ci: smoke test also checks the freelance page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -477,8 +477,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
BASE_URL="${{ needs.prepare.outputs.next_public_url }}"
|
BASE_URL="${{ needs.prepare.outputs.next_public_url }}"
|
||||||
|
|
||||||
# The legal pages must be reachable in both languages.
|
# The freelance page and the legal pages must be reachable in both languages.
|
||||||
for PAGE in /impressum /datenschutz /en/imprint /en/privacy; do
|
for PAGE in /freelance /en/freelance /impressum /datenschutz /en/imprint /en/privacy; do
|
||||||
STATUS=$(curl -s -o /dev/null -w "%{http_code}" "$BASE_URL$PAGE")
|
STATUS=$(curl -s -o /dev/null -w "%{http_code}" "$BASE_URL$PAGE")
|
||||||
if [ "$STATUS" != "200" ]; then
|
if [ "$STATUS" != "200" ]; then
|
||||||
echo "❌ $PAGE failed! (Status: $STATUS)"
|
echo "❌ $PAGE failed! (Status: $STATUS)"
|
||||||
|
|||||||
Reference in New Issue
Block a user