This commit is contained in:
@@ -39,7 +39,12 @@ jobs:
|
||||
|
||||
- name: Verify Deployment (页面 + PDF)
|
||||
run: |
|
||||
sleep 3
|
||||
# 等待容器就绪(最多 30s)
|
||||
for i in $(seq 1 10); do
|
||||
curl -fsS http://127.0.0.1:8080/ > /dev/null 2>&1 && break
|
||||
echo "waiting for container... ($i)"
|
||||
sleep 3
|
||||
done
|
||||
curl -fsS http://127.0.0.1:8080/ > /dev/null
|
||||
for f in private-dev private-support soe-dev soe-support; do
|
||||
ct=$(curl -fsS -o /dev/null -w '%{content_type}' http://127.0.0.1:8080/pdf/$f.pdf)
|
||||
|
||||
Reference in New Issue
Block a user