Skip to content

v230

v230 #4

Workflow file for this run

name: Publish Gem
on:
release:
types: [released]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
- name: Build gem
run: |
gem build github-pages.gemspec
- name: Publish gem
env:
GEM_HOST_API_KEY: ${{ secrets.PAGES_GEM_PUBLISH }}
run: |
gem push github-pages-*.gem