feat(ci): 试点规范 2(test → LAN → 手动 ubuntu2)
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

This commit is contained in:
2026-11-10 14:46:47 +08:00
parent 6d590673ae
commit adb1328b75
8 changed files with 271 additions and 0 deletions

13
deploy/health-lan.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/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