Skip to content

Commit 8f75a4e

Browse files
committed
ci: preserve Windows Testbox phone-home POST
1 parent 1d935cc commit 8f75a4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/windows-blacksmith-testbox.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
fi
6666
runner_ssh_port="${BLACKSMITH_SSH_PORT:-22}"
6767
68-
response="$(curl -s -f -L -X POST "${api_url}/api/testbox/phone-home" \
68+
response="$(curl -s -f -L --post302 --post303 -X POST "${api_url}/api/testbox/phone-home" \
6969
-H "Content-Type: application/json" \
7070
-H "Authorization: Bearer ${auth_token}" \
7171
-d "{
@@ -155,7 +155,7 @@ jobs:
155155
}
156156
JSON
157157
158-
http_code="$(curl -sS -L -o "$RUNNER_TEMP/testbox-ready.response" -w '%{http_code}' \
158+
http_code="$(curl -sS -L --post302 --post303 -o "$RUNNER_TEMP/testbox-ready.response" -w '%{http_code}' \
159159
-X POST "${api_url}/api/testbox/phone-home" \
160160
-H "Content-Type: application/json" \
161161
-H "Authorization: Bearer ${auth_token}" \

0 commit comments

Comments
 (0)