ci: 测试服入口端口 8888→8801(释放 8888 号段,登记册同步)
deploy-hxtesting / build-and-deploy (push) Successful in 1m45s
deploy-hxtesting / build-and-deploy (push) Successful in 1m45s
This commit is contained in:
1 parent
89392b0fa4
commit
3bc62a5acb
1 file changed
+2
-2
@@ -52,8 +52,8 @@ jobs:
|
||||
run: |
|
||||
set -e
|
||||
sleep 20
|
||||
if curl -fsS -o /dev/null --max-time 10 http://127.0.0.1:8888/; then
|
||||
echo "WEB_OK: http://hxtesting:8888/ 已可访问 (sha-${GIT_SHA})"
|
||||
if curl -fsS -o /dev/null --max-time 10 http://127.0.0.1:8801/; then
|
||||
echo "WEB_OK: http://hxtesting:8801/ 已可访问 (sha-${GIT_SHA})"
|
||||
else
|
||||
echo "健康检查失败,容器状态:"
|
||||
cd "$DEPLOY_DIR" && docker compose ps
|
||||
|
||||
Reference in new issue
Block a user