Skip to content

Commit

Permalink
Merge pull request #307 from DeployGate/work/fix_cant_push_gem_in_rel…
Browse files Browse the repository at this point in the history
…ease_workflow

Fix gem push error in release workflow
  • Loading branch information
anoworl authored Nov 1, 2022
2 parents f17260a + ae5bb4a commit f9f6bf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- id: gem
run: echo "::set-output name=result::$(find pkg -name 'deploygate-*.gem' -type f | head -1)"
- run: |
curl --data-binary '@${{ steps.gem.outputs.result }}' \
-H 'Authorization: ${{ secrets.RUBYGEMS_API_KEY }}' \
"https://rubygems.org/api/v1/gems"
gem push '${{ steps.gem.outputs.result }}'
env:
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
- uses: slackapi/[email protected]
with:
payload: "{\"text\": \"Released a deploygate gem in <https://rubygems.org/gems/deploygate/|RubyGems>\"}"
Expand Down

0 comments on commit f9f6bf4

Please sign in to comment.