mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-27 02:10:52 +08:00
Post commit messages to Slack with Github Actions
This commit is contained in:
parent
d2fc28dbf0
commit
10faa5f4b9
1 changed files with 1 additions and 1 deletions
2
.github/workflows/slack.yml
vendored
2
.github/workflows/slack.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
|||
env:
|
||||
webhook_url: ${{ secrets.ZONE_WEBHOOK_URL }}
|
||||
curl_options: '--fail -s'
|
||||
data: '{"channel":"wildduck-changelog", "text": "*${{ github.actor }}* pushed <https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}> to *${{ github.ref_name }}*: ${{ github.event.head_commit.message }}"}'
|
||||
data: '{"channel":"wildduck-changelog", "text": "*${{ github.actor }}* pushed <https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}> to *${{ github.ref_name }}*\\n ${{ github.event.head_commit.message }}"}'
|
||||
run: |
|
||||
curl $curl_options \
|
||||
-H "Content-Type: application/json" \
|
||||
|
|
Loading…
Reference in a new issue