Skip to content

Commit

Permalink
Try using GITHUB_TOKEN explicitly in .gem/credentials.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajtucker committed Jun 5, 2024
1 parent ac690e4 commit ebc53a7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,10 @@ jobs:
fetch-depth: 0

- name: "Publish gem"
run: "make publish"
shell: bash
run: |
mkdir ~/.gem
echo '---' > ~/.gem/credentials
echo ':github: Bearer ${{ secrets.GITHUB_TOKEN }}' >> ~/.gem/credentials
chmod 0600 ~/.gem/credentials
make publish

0 comments on commit ebc53a7

Please sign in to comment.