Skip to content

Commit 7f46a3e

Browse files
committed
fix script
1 parent 8e9a83c commit 7f46a3e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

apps/remix-ide/ci/browser_test.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ echo "$TEST_EXITCODE"
2727
# Fail the test early and cancel the workflow
2828
if [ "$TEST_EXITCODE" -eq 1 ]; then
2929
echo "❌ Test failed. Attempting to cancel the workflow..."
30-
curl -s -X POST "https://circleci.com/api/v2/workflow/${CIRCLE_WORKFLOW_ID}/cancel" \
31-
-H "Circle-Token: $FAIL_FAST_TOKEN" \
32-
-H "Content-Type: application/json"
30+
curl -s -X POST \
31+
-H "Authorization: Basic $FAIL_FAST_TOKEN" \
32+
-H "Content-Type: application/json" \
33+
"https://circleci.com/api/v2/workflow/${CIRCLE_WORKFLOW_ID}/cancel"
3334
exit 1
3435
fi

0 commit comments

Comments
 (0)