Skip to content

Commit

Permalink
Stop using curl -I, unrelated head issues (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Dec 2, 2022
1 parent 620cde3 commit 4a53ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ runs:
echo -e "\n${URL}"
# Curl and verify, max 3 attempts
for (( i=0; i<3; i++ )); do
HTTP_CODE=$(curl -ILso /dev/null -w "%{http_code}" "${URL}")
HTTP_CODE=$(curl -Lso /dev/null -w "%{http_code}" "${URL}")
if [ "${HTTP_CODE}" -eq 200 ]; then
echo -e "Deployment successful!"
exit
Expand Down

0 comments on commit 4a53ad8

Please sign in to comment.