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
@ -348,6 +348,17 @@ jobs:
|
|||||||
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
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user