Skip to content

Commit

Permalink
ci: increase wait before server status check
Browse files Browse the repository at this point in the history
- tsc needs to run before server starts, accommodate ~20s for this
  • Loading branch information
neopostmodern committed Mar 10, 2024
1 parent 139ae21 commit fe2ded8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fe2ded8

Please sign in to comment.