Skip to content

Commit

Permalink
fix: sleep 10 before checking website status
Browse files Browse the repository at this point in the history
  • Loading branch information
abelr20 committed Aug 23, 2024
1 parent 7fd3208 commit e61c769
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
EXPECTED_STATUS_CODE=200
# Loop until the website returns the expected status code
sleep 10
while true; do
# Send a HEAD request to the website and capture the HTTP status code
HTTP_STATUS=$(curl -s -o /dev/null -w "%{http_code}" $WEBSITE_URL)
Expand Down

0 comments on commit e61c769

Please sign in to comment.