diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 7e595b6..559d5da 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -353,7 +353,7 @@ jobs: local status status=$(curl -s -o /dev/null -w '%{http_code}' --max-time 15 "$url" || echo "000") if [ "$allow_redirect" = "1" ]; then - if ! printf '%s' "$status" | grep -Eq '^(200|301|302|307|308)$'; then + if ! printf '%s' "$status" | grep -Eq '^(200|301|302|303|307|308)$'; then echo " ✗ $url → HTTP $status" >&2 return 1 fi @@ -369,7 +369,7 @@ jobs: PUBLIC_OK=false for i in 1 2 3; do if check_public "https://www.taxbaik.com/" 1 \ - && check_public "https://www.taxbaik.com/taxbaik/" \ + && check_public "https://www.taxbaik.com/taxbaik/" 1 \ && check_public "https://www.taxbaik.com/taxbaik/admin/login"; then PUBLIC_OK=true break