diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 758a91f..bbc08d4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -43,7 +43,7 @@ jobs: run: | echo "Waiting for container to start..." for i in $(seq 1 15); do - if docker exec oma-memorial wget -q --spider http://localhost:3000 2>/dev/null; then + if docker exec oma-memorial node -e "fetch('http://localhost:3000/api/candles').then(r=>{process.exit(r.ok?0:1)}).catch(()=>process.exit(1))" 2>/dev/null; then echo "Container is healthy!" exit 0 fi