Skip to content

Commit

Permalink
Add github api v3 header
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg authored Jun 14, 2021
1 parent cf8099c commit be78312
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ jobs:
run: |
curl --fail --request POST \
--url https://api.github.com/repos/${{ github.repository }}/pages/builds \
--header "Authorization: Bearer $USER_TOKEN"
--header "Authorization: Bearer $USER_TOKEN" \
--header "Accept: application/vnd.github.v3+json"
env:
# You must create a personal token with repo access as GitHub does
# not yet support server-to-server page builds.
Expand Down

0 comments on commit be78312

Please sign in to comment.