File tree Expand file tree Collapse file tree 2 files changed +32
-4
lines changed
Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,14 @@ jobs:
309309 # SLACK_COLOR: '#c32a26'
310310 SLACK_COLOR : ' #fab005'
311311 # SLACK_COLOR: '#58a459'
312- SLACK_MESSAGE : " ```ref: ${{ github.ref }}\n workflow_ref: ${{ github.workflow_ref }}```"
312+ SLACK_MESSAGE : |
313+ ```
314+ event_name: ${{ github.event_name }}
315+ ref: ${{ github.ref }}
316+ workflow_ref: ${{ github.workflow_ref }}
317+ commit_sha: ${{ github.sha }}
318+ commit_message: ${{ github.event.commits[0].message }}
319+ ```
313320 SLACK_TITLE : ' Ready to Deploy :rocket: - `${{ github.repository }}` Release ${{ needs.release-create.outputs.release_name }}'
314321 SLACK_USERNAME : rrchnm-systems
315322 SLACK_WEBHOOK : " ${{ secrets.SLACK_WEBHOOK_SYSTEMS }}"
@@ -335,7 +342,14 @@ jobs:
335342 env :
336343 MSG_MINIMAL : true
337344 SLACK_COLOR : ' #c32a26'
338- SLACK_MESSAGE : " ```ref: ${{ github.ref }}\n workflow_ref: ${{ github.workflow_ref }}```"
345+ SLACK_MESSAGE : |
346+ ```
347+ event_name: ${{ github.event_name }}
348+ ref: ${{ github.ref }}
349+ workflow_ref: ${{ github.workflow_ref }}
350+ commit_sha: ${{ github.sha }}
351+ commit_message: ${{ github.event.commits[0].message }}
352+ ```
339353 SLACK_TITLE : ' Deployment Failed - `${{ github.repository }}` Release ${{ needs.release-create.outputs.release_name }}'
340354 SLACK_USERNAME : rrchnm-systems
341355 SLACK_WEBHOOK : " ${{ secrets.SLACK_WEBHOOK_SYSTEMS }}"
Original file line number Diff line number Diff line change @@ -309,7 +309,14 @@ jobs:
309309 # SLACK_COLOR: '#c32a26'
310310 SLACK_COLOR : ' #fab005'
311311 # SLACK_COLOR: '#58a459'
312- SLACK_MESSAGE : " ```ref: ${{ github.ref }}\n workflow_ref: ${{ github.workflow_ref }}```"
312+ SLACK_MESSAGE : |
313+ ```
314+ event_name: ${{ github.event_name }}
315+ ref: ${{ github.ref }}
316+ workflow_ref: ${{ github.workflow_ref }}
317+ commit_sha: ${{ github.sha }}
318+ commit_message: ${{ github.event.commits[0].message }}
319+ ```
313320 SLACK_TITLE : ' Ready to Deploy :rocket: - `${{ github.repository }}` Release ${{ needs.release-create.outputs.release_name }}'
314321 SLACK_USERNAME : rrchnm-systems
315322 SLACK_WEBHOOK : " ${{ secrets.SLACK_WEBHOOK_SYSTEMS }}"
@@ -335,7 +342,14 @@ jobs:
335342 env :
336343 MSG_MINIMAL : true
337344 SLACK_COLOR : ' #c32a26'
338- SLACK_MESSAGE : " ```ref: ${{ github.ref }}\n workflow_ref: ${{ github.workflow_ref }}```"
345+ SLACK_MESSAGE : |
346+ ```
347+ event_name: ${{ github.event_name }}
348+ ref: ${{ github.ref }}
349+ workflow_ref: ${{ github.workflow_ref }}
350+ commit_sha: ${{ github.sha }}
351+ commit_message: ${{ github.event.commits[0].message }}
352+ ```
339353 SLACK_TITLE : ' Deployment Failed - `${{ github.repository }}` Release ${{ needs.release-create.outputs.release_name }}'
340354 SLACK_USERNAME : rrchnm-systems
341355 SLACK_WEBHOOK : " ${{ secrets.SLACK_WEBHOOK_SYSTEMS }}"
You can’t perform that action at this time.
0 commit comments