Skip to content

Commit

Permalink
Merge pull request #302 from DeployGate/work/fix_release_workflow
Browse files Browse the repository at this point in the history
Fix release workflow
  • Loading branch information
anoworl authored Oct 31, 2022
2 parents 730a589 + fccc3e4 commit f332fb2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
- run: bundle exec rake build
- id: gem
run: echo "::set-output name=result::$(find pkg -name 'deploygate-*.gem' -type f | head -1)"
- run:
command: |
- run: |
curl --data-binary '@${{ steps.result.outputs.result }}' \
-H 'Authorization: ${{ secrets.RUBYGEMS_API_KEY }}' \
"https://rubygems.org/api/v1/gems"
Expand All @@ -26,4 +25,4 @@ jobs:
payload: "{\"text\": \"Released a deploygate gem in <https://rubygems.org/gems/deploygate/|RubyGems>\"}"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SHARED_FOR_RELEASE_ARTIFACT_SLACK_INCOMING_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

0 comments on commit f332fb2

Please sign in to comment.