Fixed url
This commit is contained in:
parent
ab2b69aff3
commit
acbb7489e5
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
for i in $(seq 1 10); do # Using `seq` for compatibility
|
for i in $(seq 1 10); do # Using `seq` for compatibility
|
||||||
echo "Checking website availability (Attempt $i)..."
|
echo "Checking website availability (Attempt $i)..."
|
||||||
STATUS=$(curl -o /dev/null -s -w "%{http_code}" http://website:8081/) || true # Ensure curl doesn't crash the script
|
STATUS=$(curl -o /dev/null -s -w "%{http_code}" http://localhost:26400/) || true # Ensure curl doesn't crash the script
|
||||||
if [ "$STATUS" -eq 200 ]; then
|
if [ "$STATUS" -eq 200 ]; then
|
||||||
echo "Website is up with status 200!"
|
echo "Website is up with status 200!"
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue