accounts/scripts/github-actions/validate-deploy.sh
2026-04-10 20:10:33 +08:00

13 lines
214 B
Bash

#!/usr/bin/env bash
set -euo pipefail
BASE_URL="${1:-https://accounts.svc.plus}"
curl \
--silent \
--show-error \
--fail \
--location \
--max-time 20 \
"${BASE_URL}/healthz" | grep -q '"status":"ok"'