Skip to content

Commit 91b571c

Browse files
committed
Update gem publishing step to use RUBYGEMS_AUTH_TOKEN instead of RUBYGEMS_API_KEY
1 parent 76ec0ae commit 91b571c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ jobs:
114114
- name: Publish gem to RubyGems
115115
if: steps.rubygems.outputs.exists != 'true'
116116
env:
117-
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
117+
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
118118
RELEASE_VERSION: ${{ steps.release.outputs.version }}
119119
run: |
120120
if [ -z "$GEM_HOST_API_KEY" ]; then
121-
echo 'Missing RUBYGEMS_API_KEY secret.'
121+
echo 'Missing RUBYGEMS_AUTH_TOKEN secret.'
122122
exit 1
123123
fi
124124

0 commit comments

Comments
 (0)