Skip to content

Commit

Permalink
Fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
SolitudePy committed Jun 16, 2024
1 parent 94e82c3 commit 917a24b
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/docker-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,7 @@ jobs:

- name: Wait for services to be ready
run: |
echo "Waiting for services to be ready..."
for i in {1..30}; do # Try for up to 30 seconds
docker-compose ps | grep "Up (healthy)"
if [ $? -eq 0 ]; then
echo "Services are ready!"
exit 0
fi
sleep 1
done
echo "Services did not become ready within 30 seconds."
exit 1
sleep 20
- name: Test the web service
run: |
Expand Down

0 comments on commit 917a24b

Please sign in to comment.