ci: fix ZoomPixel deployment smoke checks
deploy-preland / deploy barbariskatest (push) Skipped
deploy-preland / deploy zoomstage.online (push) Successful in 22s
deploy-preland / deploy zoompixel.online (push) Skipped
deploy-preland / deploy zoompixel.ru (push) Skipped

This commit is contained in:
Panfilov Konstantin committed 2026-10-16 10:04:00 +03:00
1 parent ca7ba5a556
commit 6683762006
1 file changed
-2
-2
View File
@@ -133,7 +133,6 @@ jobs:
api=$(printf '%s' "$page" | grep -o 'const createApiUrl = "[^"]*"' || true) api=$(printf '%s' "$page" | grep -o 'const createApiUrl = "[^"]*"' || true)
echo "$api" echo "$api"
case "$api" in *'zoomzilla.ru\/api\/images\/public\/create'*) ;; *) echo "на странице нет адреса загрузки Zoomzilla"; exit 1 ;; esac case "$api" in *'zoomzilla.ru\/api\/images\/public\/create'*) ;; *) echo "на странице нет адреса загрузки Zoomzilla"; exit 1 ;; esac
esac
printf '%s' "$page" | grep -q 'claim?key=' || { echo "переход не на claim"; exit 1; } printf '%s' "$page" | grep -q 'claim?key=' || { echo "переход не на claim"; exit 1; }
deploy-zoompixel-production: deploy-zoompixel-production:
@@ -193,5 +192,4 @@ jobs:
api=$(printf '%s' "$page" | grep -o 'const createApiUrl = "[^"]*"' || true) api=$(printf '%s' "$page" | grep -o 'const createApiUrl = "[^"]*"' || true)
echo "$api" echo "$api"
case "$api" in *'zoomzilla.ru\/api\/images\/public\/create'*) ;; *) echo "на странице нет адреса загрузки Zoomzilla"; exit 1 ;; esac case "$api" in *'zoomzilla.ru\/api\/images\/public\/create'*) ;; *) echo "на странице нет адреса загрузки Zoomzilla"; exit 1 ;; esac
esac
printf '%s' "$page" | grep -q 'claim?key=' || { echo "переход не на claim"; exit 1; } printf '%s' "$page" | grep -q 'claim?key=' || { echo "переход не на claim"; exit 1; }