Skip to content

Commit 6d2f1d1

Browse files
committed
pass the rubygems api key via the env variable
1 parent cdacecd commit 6d2f1d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ jobs:
209209
chmod 0600 ~/.gem/credentials
210210
211211
- name: Publish gem to RubyGems
212+
env:
213+
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
212214
run: |
213215
echo "🚀 Publishing gem to RubyGems..."
214216
gem push ${{ needs.build.outputs.artifact_name }}

0 commit comments

Comments
 (0)