Fixed url

This commit is contained in:
Firq 2024-10-22 18:29:59 +02:00
parent ab2b69aff3
commit acbb7489e5
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20

View file

@ -23,7 +23,7 @@ jobs:
run: |
for i in $(seq 1 10); do # Using `seq` for compatibility
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
echo "Website is up with status 200!"
break