Skip to content

Commit 79774b3

Browse files
authored
fix(actions): adjust permission issue when push
1 parent fa9bd2e commit 79774b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: |
3636
git config --global user.name '${{ github.actor }}'
3737
git config --global user.email '${{ github.actor }}@users.noreply.github.com'
38-
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
38+
git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/$GITHUB_REPOSITORY
3939
git add -A
4040
git commit -am "chore(actions): adding new dist folder for release"
4141
git push origin main

0 commit comments

Comments
 (0)