Skip to content

Commit 11285d7

Browse files
committed
Fix git push
1 parent c1572e9 commit 11285d7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ jobs:
6262
# Checkout the repository:
6363
- name: 'Checkout repository'
6464
uses: actions/checkout@v3
65-
with:
66-
token: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
6765

6866
# Install Node.js:
6967
- name: 'Install Node.js'
@@ -100,7 +98,7 @@ jobs:
10098
git tag -a "v${NEW_VERSION}" -m "Release v{NEW_VERSION}"
10199
102100
# Push changes to GitHub:
103-
git push --follow-tags
101+
git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$SLUG.git" --follow-tags
104102
105103
# Replace GitHub links to individual packages with npm links:
106104
- name: 'Replace all GitHub links to individual packages with npm links'

0 commit comments

Comments
 (0)