Sha256: b3ec516700fccbbc82f26d95352d190f49abcd14ce563e0268b8e9b482e3e6c8

Contents?: true

Size: 757 Bytes

Versions: 2

Compression:

Stored size: 757 Bytes

Contents

# This workflow will publish a gem to rubygems.org when a release is created
# For more information see: # https://github.com/discourse/publish-rubygems-action

name: Publish Gem

on:
  push:
    branches:
      - master

jobs:
 publish:
    if: github.ref == 'refs/heads/master' && github.event_name == 'push' && contains(github.event.head_commit.message, 'chore(release)')
    runs-on: ubuntu-latest
    
    steps:
      - uses: actions/checkout@v3

      - name: Release Gem
        uses: discourse/publish-rubygems-action@v2
        env:
          RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
          RELEASE_COMMAND: rake release
          GIT_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
          GIT_NAME: github-actions[bot]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
buttercms-ruby-zwg-2.4.2 .github/workflows/rubygems-publish.yml
buttercms-ruby-zwg-2.4.1 .github/workflows/rubygems-publish.yml