This commit is contained in:
parent
8018ca07b5
commit
8efa0530e7
@ -84,7 +84,7 @@ jobs:
|
|||||||
- name: Wait for Live Server
|
- name: Wait for Live Server
|
||||||
run: |
|
run: |
|
||||||
attempts=0
|
attempts=0
|
||||||
max_attempts=4
|
max_attempts=2
|
||||||
while ! curl --output /dev/null --silent --head --fail http://live-server:8081; do
|
while ! curl --output /dev/null --silent --head --fail http://live-server:8081; do
|
||||||
if [ $attempts -eq $max_attempts ]; then
|
if [ $attempts -eq $max_attempts ]; then
|
||||||
echo "Live server not ready after $max_attempts attempts"
|
echo "Live server not ready after $max_attempts attempts"
|
||||||
|
Loading…
Reference in New Issue
Block a user