Skip to content

Commit 0cb93bc

Browse files
committed
change deploy.yml
1 parent fbea463 commit 0cb93bc

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,17 +130,7 @@ jobs:
130130
port: 2022
131131
script: |
132132
sleep 120
133-
for i in {1..10}; do
134-
if curl -sf http://localhost/api/actuator/health; then
135-
echo "✅ SpringBoot health check passed"
136-
exit 0
137-
fi
138-
echo "Retry $i/10..."
139-
sleep 5
140-
done
141-
echo "❌ SpringBoot health check failed"
142-
exit 1
143-
133+
curl -sf http://localhost/api/actuator/health && echo "✅ Passed" || echo "❌ Failed"
144134
./deploy.sh status
145135
146136
- name: 📢 Discord Success Notification

0 commit comments

Comments
 (0)