Skip to content

Commit a6476b9

Browse files
committed
Push gem to rubygems.org via workflow
1 parent 3f082fe commit a6476b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/gem.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ jobs:
3535
name: "jekyll_test_plugin-${{ steps.plugin-meta.outputs.version }}"
3636
path: "jekyll_test_plugin-${{ steps.plugin-meta.outputs.version }}.gem"
3737
retention-days: 5
38+
- name: Release Gem via Rubygems.org
39+
env:
40+
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_GEM_PUSH_API_KEY }}
41+
run: "gem push jekyll_test_plugin-${{ steps.plugin-meta.outputs.version }}.gem"

0 commit comments

Comments
 (0)