Skip to content

Commit

Permalink
Rollback to USER_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg authored Jun 16, 2021
1 parent 59e76c2 commit 47a2b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ jobs:
run: |
curl --fail --request POST \
--url https://api.github.com/repos/${{ github.repository }}/pages/builds \
--header "Authorization: Bearer $GITHUB_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.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USER_TOKEN: ${{ secrets.USER_TOKEN }}

0 comments on commit 47a2b01

Please sign in to comment.