Skip to content

Commit

Permalink
Fix Slack Action
Browse files Browse the repository at this point in the history
  • Loading branch information
gabro committed Aug 20, 2024
1 parent adba85e commit fad788d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
with:
run_install: true

- run: |
cd packages/bento-design-system
pnpm version --no-git-tag-version --new-version ${{ github.ref_name }}
- name: Commit & Push changes
uses: actions-js/push@master
with:
Expand Down Expand Up @@ -61,6 +65,7 @@ jobs:
if: ${{ job.status == 'success' }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
JOB_STATUS: ${{ job.status }}
ATTACHMENT_COLOR: "good"
with:
Expand All @@ -71,6 +76,7 @@ jobs:
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:
Expand Down

0 comments on commit fad788d

Please sign in to comment.