Skip to content

Commit

Permalink
Adds rubygems credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
mscottford committed Sep 5, 2023
1 parent fc63fa6 commit 3850c2f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ jobs:
- name: Test
run: bundle exec rake spec

- name: Setup Rubygems credentials
uses: fac/ruby-gem-setup-credentials-action@v2
if: github.event_name == 'push'
&& github.ref == 'refs/heads/main'
&& github.repository == 'corgibytes/freshli-commons'
&& !contains(toJSON(github.event.commits.*.message), '[skip release]')
with:
token: ${{ secrets.RUBYGEMS_API_KEY }}

- name: Bump version
if: github.event_name == 'push'
&& github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 3850c2f

Please sign in to comment.