Skip to content

Commit

Permalink
#1 | CHANGED: publish.yml - Added Bearer with GitHub Token.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanluu committed Dec 13, 2020
1 parent 7857abc commit f4e5c57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f4e5c57

Please sign in to comment.