From fe2ded8b401e5672ad57644bbfbb9a82097f7cfc Mon Sep 17 00:00:00 2001 From: neopostmodern Date: Sun, 10 Mar 2024 17:23:08 +0100 Subject: [PATCH] ci: increase wait before server status check - tsc needs to run before server starts, accommodate ~20s for this --- .github/workflows/production.yml | 2 +- .github/workflows/staging.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 0f5ef73..6a87e96 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -123,7 +123,7 @@ jobs: - name: Check HTTP status code shell: bash run: | - sleep 10 + sleep 30 BACKEND_URL=$(jq -r '.BACKEND_URL' "./config/$CONFIG_FILE") RESPONSE_CODE=$(curl -sL -w "%{http_code}" -I "$BACKEND_URL/hello" -o /dev/null) echo "HTTP response code from $BACKEND_URL/hello : $RESPONSE_CODE" diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 1b6b3cf..33daffd 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -127,7 +127,7 @@ jobs: - name: Check HTTP status code shell: bash run: | - sleep 10 + sleep 30 BACKEND_URL=$(jq -r '.BACKEND_URL' "./config/$CONFIG_FILE") RESPONSE_CODE=$(curl -sL -w "%{http_code}" -I "$BACKEND_URL/hello" -o /dev/null) echo "HTTP response code from $BACKEND_URL/hello : $RESPONSE_CODE"