mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-27 09:33:55 +00:00
[web] fix waiting for cdn upload on staging-main (#23729)
Co-authored-by: Jimmy Domagala-Tang <jimmy.domagala-tang@overleaf.com> GitOrigin-RevId: fdf0f2c0b0b8c9e83a1ea6f6f71305f9ff822f1f
This commit is contained in:
parent
5f6de9caf0
commit
a1755c1c08
1 changed files with 3 additions and 1 deletions
|
@ -67,5 +67,7 @@ if [[ "$BRANCH_NAME" == "main" ]] || [[ "$BRANCH_NAME" == "staging-main" ]]; the
|
|||
fi
|
||||
|
||||
wait "$pid_staging" # wait for staging upload to finish, wait(1) will exit if the upload failed
|
||||
wait "$pid_production" # wait for production upload to finish (if started), wait(1) will exit if the upload failed
|
||||
if [[ -n "$pid_production" ]]; then
|
||||
wait "$pid_production" # wait for production upload to finish (if started), wait(1) will exit if the upload failed
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue