Skip to content

Commit 6e1362c

Browse files
committed
chore: Update GitHub Actions workflow to push changes to the master branch with a personal access token
1 parent 43c73fb commit 6e1362c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ jobs:
3636
git config --global user.email 'github-actions@github.com'
3737
git add package.json
3838
git commit -m "Update version to ${{ github.event.release.tag_name }}"
39-
git push https://x-access-token:${{ secrets.PAT }}@github.com/byteyard/modulatecss.git HEAD:master
39+
git remote set-url origin https://x-access-token:${{ secrets.PAT }}@github.com/byteyard/modulatecss.git
40+
git push origin HEAD:master
4041
4142
- name: Publish to npm
4243
env:

0 commit comments

Comments
 (0)