Browse Source
ci: add slack releases channel notification
[skip ci]
pull/5044/head
Nicolas Giard
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
11 additions and
0 deletions
-
.github/workflows/build.yml
|
@ -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 |
|
|