Files
homepage/deploy/health-lan.sh
dafe adb1328b75
All checks were successful
CI-CD-2 / test (push) Successful in 2s
CI-CD-2 / deploy-lan (push) Successful in 3s
CI-CD-2 / deploy-cloud (push) Has been skipped
feat(ci): 试点规范 2(test → LAN → 手动 ubuntu2)
2026-11-10 14:46:47 +08:00

14 lines
277 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
for _ in $(seq 1 10); do
if curl -skf -m 5 --noproxy '*' https://192.168.51.66/homepage/ > /dev/null; then
echo "OK https://192.168.51.66/homepage/"
exit 0
fi
sleep 3
done
echo "FAIL https://192.168.51.66/homepage/"
exit 1