ci: add slack releases channel notification
[skip ci]
This commit is contained in:
parent
a3bf1f7916
commit
3469dabed2
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -347,6 +347,17 @@ jobs:
|
|||||||
body: ${{ steps.changelog.outputs.changes }}
|
body: ${{ steps.changelog.outputs.changes }}
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
artifacts: 'drop/wiki-js.tar.gz,drop-win/wiki-js-windows.tar.gz'
|
artifacts: 'drop/wiki-js.tar.gz,drop-win/wiki-js-windows.tar.gz'
|
||||||
|
|
||||||
|
- name: Notify Slack Releases Channel
|
||||||
|
uses: slackapi/slack-github-action@v1.18.0
|
||||||
|
with:
|
||||||
|
payload: |
|
||||||
|
{
|
||||||
|
"text": "Wiki.js ${{ github.ref_name }} has been released."
|
||||||
|
}
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
|
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
|
||||||
|
|
||||||
build-do-image:
|
build-do-image:
|
||||||
name: Build DigitalOcean Image
|
name: Build DigitalOcean Image
|
||||||
|
Loading…
Reference in New Issue
Block a user