diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 67cb94c..52561dd 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -6,4 +6,8 @@ mkdir "$release" cp -R "$source_dir"/. "$release"/ ln -sfn "$release" /srv/t31-project2/current sudo -n systemctl restart t31-project2-api -curl --fail --retry 5 http://127.0.0.1:3001/graphql?query=%7Bhealth%7D +curl --fail \ + --retry 10 \ + --retry-all-errors \ + --retry-delay 2 \ + http://127.0.0.1:3001/graphql?query=%7Bhealth%7D