Skip to content

Commit

Permalink
[ci-skip] use correct github token for configuration variable
Browse files Browse the repository at this point in the history
  • Loading branch information
granny committed Oct 31, 2023
1 parent ae84066 commit b4d66a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
name: Prepare build number if it doesn't exist
with:
debug: true
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GH_TOKEN }}
script: |
const { owner, repo } = context.repo;
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
if: success()
with:
debug: true
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GH_TOKEN }}
script: |
const { owner, repo } = context.repo;
const value = ${{ env.NEXT_BUILD_NUMBER }} + 1;
Expand Down

0 comments on commit b4d66a4

Please sign in to comment.