Add server startup wait time~2mins
This commit is contained in:
@@ -131,6 +131,10 @@ jobs:
|
||||
|
||||
server_pid=$!
|
||||
|
||||
|
||||
echo "Waiting for the server to start..."
|
||||
sleep 120
|
||||
|
||||
for i in {1..1200}; do
|
||||
echo "Checking server health ($i/1200)..."
|
||||
response=$(curl --silent --fail --write-out "%{http_code}" ${{ env.NEXT_PUBLIC_WEBAPP_URL }}/auth/login)
|
||||
|
||||
Reference in New Issue
Block a user