Skip to content

Commit

Permalink
Wait until backend started
Browse files Browse the repository at this point in the history
  • Loading branch information
demccormack committed Oct 18, 2023
1 parent d524799 commit 2158786
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
while [[ -z "${DIR_LIST:-}" ]] && [[ "$TRIES" -le 120 ]]
do
DIR_LIST=$(curl 'http://127.0.0.1:8080/?dir=' || true)
if grep 404 <<< "$DIR_LIST"
then
DIR_LIST=''
fi
((++TRIES))
sleep 0.5
done
Expand Down

0 comments on commit 2158786

Please sign in to comment.