Skip to content

Commit

Permalink
Adding updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Oct 16, 2024
1 parent 5620b64 commit 369d2ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,17 @@ jobs:
response=$(curl -sS -o homepage.html -w "%{http_code}" http://localhost:8000)
if [ $response -eq 200 ]; then
echo "Homepage is accessible"
if grep -q "Ship in Days Not Weeks" homepage.html; then
if grep -q "Ship in Days" homepage.html; then
echo "Homepage contains expected content"
else
echo "Homepage doesn't contain expected content"
echo "Content of homepage.html:"
cat homepage.html
exit 1
fi
else
echo "Homepage is not accessible. HTTP status code: $response"
echo "Content of homepage.html:"
cat homepage.html
exit 1
fi

0 comments on commit 369d2ac

Please sign in to comment.