Skip to content

Commit

Permalink
Create publish-gem.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsusdere authored Jan 2, 2024
1 parent 1525bbb commit f3ee583
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish-gem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Gem

on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
- name: Build gem
run: |
gem build github-pages.gemspec
- name: Publish
run: |
gem push github-pages.gem --key ${{ secrets.PAGES_GEM_PUBLISH }}

0 comments on commit f3ee583

Please sign in to comment.