ci: add slack releases channel notification

[skip ci]
This commit is contained in:
Nicolas Giard 2022-02-20 23:14:33 -05:00 committed by GitHub
parent a3bf1f7916
commit 3469dabed2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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