ci: add telegram notify to build release workflow

This commit is contained in:
Nicolas Giard 2022-06-19 23:09:03 -04:00 committed by GitHub
parent 0425b82c83
commit 0a1bc707fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -358,6 +358,18 @@ jobs:
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
- name: Notify Telegram Channel
uses: appleboy/telegram-action@0.0.3
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
format: markdown
message: |
Wiki.js **${{ github.ref_name }}** has been released!
See [release notes](https://github.com/requarks/wiki/releases) for details.
build-do-image:
name: Build DigitalOcean Image