Fixed url
Some checks failed
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 12s
/ deploy-unlighthouse-files (push) Has been skipped
/ unlighthouse (push) Failing after 46s
/ deploy-unlighthouse-site (push) Has been skipped

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: | 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