diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 3ca35883..67dbe43c 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -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}}"