Skip to content

Commit

Permalink
Create publish-gem.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsusdere committed Jan 2, 2024
1 parent 814b872 commit 070a8e3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish-gem.yml
@@ -0,0 +1,22 @@
name: Publish Gem

on:
release:
types: [released]

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7.8'
- 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 070a8e3

Please sign in to comment.