Skip to content

Commit

Permalink
refactor (ci): update Authorization from 'Bearer' to 'ApiKey'
Browse files Browse the repository at this point in the history
  • Loading branch information
aybruhm committed Nov 28, 2024
1 parent a082d51 commit db17122
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 @@ -41,7 +41,7 @@ runs:
fi
status_code=$( \
curl --max-time 60 --write-out %{http_code} --silent --output /dev/null --verbose \
-H "Authorization: Bearer ${{ inputs.api-key }}" \
-H "Authorization: ApiKey ${{ inputs.api-key }}" \
$APP_URL)
echo "Attempt $i: Status code: $status_code"
if [ "$status_code" -eq 200 ]; then
Expand Down

0 comments on commit db17122

Please sign in to comment.