Skip to content

Commit

Permalink
Update publish-gem.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsusdere committed Jan 5, 2024
1 parent 0b32c14 commit 4ffa6f9
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
@@ -1 +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: '3.2'
- 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 4ffa6f9

Please sign in to comment.