Skip to content

Commit

Permalink
Specify pushing to branch; wrap new-branch-name & push-ref with quotes.
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao committed Dec 22, 2024
1 parent 09a9f04 commit 2a75075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ jobs:
- name: "Create and push branch"
run: |
git checkout -b ${{github.ref_name}}
git push origin ${{github.ref_name}}
git checkout -b "${{github.ref_name}}"
git push origin "refs/heads/${{github.ref_name}}"

0 comments on commit 2a75075

Please sign in to comment.