Skip to content

Commit

Permalink
Updated frontend code
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilRaikar17 committed Aug 4, 2024
1 parent 0956d90 commit fbd987e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,9 @@ jobs:
- name: Verify frontend server is running
run: |
response=$(curl -s http://localhost:9000/2)
echo "Response: $response"
if [[ $response == *"expected content"* ]]; then
echo "Frontend is running"
if echo "$response" | grep -q "DOC-INFO"; then
echo "Frontend is running and contains 'DOC-INFO'"
else
echo "Frontend is not running or did not return expected content"
echo "Frontend did not return expected content"
exit 1
fi

0 comments on commit fbd987e

Please sign in to comment.