Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
tycooon committed Sep 13, 2024
1 parent 460a6f7 commit 5c5240b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,23 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

deploy:
release-gem:
runs-on: ubuntu-latest

environment: Deploy
permissions:
id-token: write
contents: write

# Run on push to master branch
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: umbrellio/publish-ruby-gem-action@v1.0.4
- uses: ruby/setup-ruby@v1
with:
api-key: ${{ secrets.RUBYGEMS_API_KEY }}
env:
PUBLISH_JOB: true
ruby-version: ruby
bundler-cache: true

- uses: rubygems/release-gem@v1

0 comments on commit 5c5240b

Please sign in to comment.