Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gabro committed Aug 20, 2024
1 parent e5aab49 commit 42a782e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,15 @@ jobs:
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
JOB_STATUS: ${{ job.status }}
ATTACHMENT_COLOR: "good"
with:
channel-id: bento
slack-message: ":tada: Version ${{ github.ref_name }} has been released!"
payload: '{"text": ":tada: Version ${{ github.ref_name }} has been released!"}'

- uses: slackapi/[email protected]
if: ${{ job.status == 'failure' }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
JOB_STATUS: ${{ job.status }}
ATTACHMENT_COLOR: "danger"
with:
channel-id: bento
slack-message: ":x: Version ${{ github.ref_name }} failed to release"
payload: '{"text": ":x: Version ${{ github.ref_name }} failed to release"}'

0 comments on commit 42a782e

Please sign in to comment.