diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 025cccb..5ac30a1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -56,6 +56,8 @@ jobs: repo=$(basename $remote .git) # POST a new ref to repo via Github API curl -s -X POST https://api.github.com/repos/$REPO_OWNER/$repo/git/refs \ + --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ + --header 'content-type: application/json' \ -d @- << EOF { "ref": "refs/tags/$version",