Skip to content

Commit c11bc51

Browse files
committed
CI
1 parent 6d7ac47 commit c11bc51

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/publish-gem.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
jobs:
88
publish-gem:
99
runs-on: ubuntu-latest
10-
permissions:
11-
contents: read
12-
packages: write
1310

1411
steps:
1512
- uses: actions/checkout@v3
@@ -21,7 +18,7 @@ jobs:
2118

2219
- name: Publish to GPR
2320
env:
24-
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
21+
GEM_HOST_API_KEY: "Bearer ${{secrets.GPR_PAT}}"
2522
OWNER: ${{github.repository_owner}}
2623
run: |
2724
mkdir -p $HOME/.gem
@@ -33,7 +30,7 @@ jobs:
3330
3431
- name: Publish to RubyGems
3532
env:
36-
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
33+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"
3734
run: |
3835
mkdir -p $HOME/.gem
3936
touch $HOME/.gem/credentials

0 commit comments

Comments
 (0)