Skip to content

Commit

Permalink
Adapt Slack message
Browse files Browse the repository at this point in the history
  • Loading branch information
Anboias committed Dec 4, 2023
1 parent 813a2ee commit 5d0358d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ jobs:
- name: Notify Slack about the update
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
status: custom
fields: message
custom_payload: |
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Design updated! Commit message: *${{ github.event.head_commit.message }}*"
type: "section",
text: {
type: "mrkdwn",
text: `Design updated! Commit message: *${process.env.AS_MESSAGE}*`
}
}
env:
Expand Down

0 comments on commit 5d0358d

Please sign in to comment.