Skip to content

Commit

Permalink
increase timeout to 40
Browse files Browse the repository at this point in the history
  • Loading branch information
aakrem committed May 20, 2024
1 parent 97f77ab commit 2069c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/check-app-accessibility/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
sleep 5 # Wait for the app to start
echo "Checking if $APP_URL is accessible"
status_code=$(curl --max-time 10 --write-out %{http_code} --silent --output /dev/null $APP_URL)
status_code=$(curl --max-time 40 --write-out %{http_code} --silent --output /dev/null $APP_URL)
if [ "$status_code" -ne 200 ]; then
echo "Error: $APP_URL is not accessible"
exit 1
Expand Down

0 comments on commit 2069c6b

Please sign in to comment.