We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f17260a commit ae5bb4aCopy full SHA for ae5bb4a
1 file changed
.github/workflows/release.yml
@@ -17,9 +17,9 @@ jobs:
17
- id: gem
18
run: echo "::set-output name=result::$(find pkg -name 'deploygate-*.gem' -type f | head -1)"
19
- run: |
20
- curl --data-binary '@${{ steps.gem.outputs.result }}' \
21
- -H 'Authorization: ${{ secrets.RUBYGEMS_API_KEY }}' \
22
- "https://rubygems.org/api/v1/gems"
+ gem push '${{ steps.gem.outputs.result }}'
+ env:
+ GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
23
- uses: slackapi/slack-github-action@v1.16.0
24
with:
25
payload: "{\"text\": \"Released a deploygate gem in <https://rubygems.org/gems/deploygate/|RubyGems>\"}"
0 commit comments