Skip to content

Commit f332fb2

Browse files
authored
Merge pull request #302 from DeployGate/work/fix_release_workflow
Fix release workflow
2 parents 730a589 + fccc3e4 commit f332fb2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ jobs:
1616
- run: bundle exec rake build
1717
- id: gem
1818
run: echo "::set-output name=result::$(find pkg -name 'deploygate-*.gem' -type f | head -1)"
19-
- run:
20-
command: |
19+
- run: |
2120
curl --data-binary '@${{ steps.result.outputs.result }}' \
2221
-H 'Authorization: ${{ secrets.RUBYGEMS_API_KEY }}' \
2322
"https://rubygems.org/api/v1/gems"
@@ -26,4 +25,4 @@ jobs:
2625
payload: "{\"text\": \"Released a deploygate gem in <https://rubygems.org/gems/deploygate/|RubyGems>\"}"
2726
env:
2827
SLACK_WEBHOOK_URL: ${{ secrets.SHARED_FOR_RELEASE_ARTIFACT_SLACK_INCOMING_WEBHOOK_URL }}
29-
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
28+
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

0 commit comments

Comments
 (0)