ci: fix telegram notify on build release workflow
This commit is contained in:
parent
acf89cbcc2
commit
c37c34ac12
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -360,16 +360,15 @@ jobs:
|
|||||||
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
|
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
|
||||||
|
|
||||||
- name: Notify Telegram Channel
|
- name: Notify Telegram Channel
|
||||||
uses: appleboy/telegram-action@0.0.3
|
uses: appleboy/telegram-action@v0.1.1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
format: markdown
|
format: markdown
|
||||||
|
disable_web_page_preview: true
|
||||||
message: |
|
message: |
|
||||||
Wiki.js **${{ github.ref_name }}** has been released!
|
Wiki.js *${{ github.ref_name }}* has been released!
|
||||||
|
|
||||||
See [release notes](https://github.com/requarks/wiki/releases) for details.
|
See [release notes](https://github.com/requarks/wiki/releases) for details.
|
||||||
|
|
||||||
|
|
||||||
build-do-image:
|
build-do-image:
|
||||||
name: Build DigitalOcean Image
|
name: Build DigitalOcean Image
|
||||||
|
17
.github/workflows/telegram.yml
vendored
17
.github/workflows/telegram.yml
vendored
@ -1,17 +0,0 @@
|
|||||||
name: Telegram Test
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Notify Telegram Channel
|
|
||||||
uses: appleboy/telegram-action@v0.1.1
|
|
||||||
with:
|
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
|
||||||
format: markdown
|
|
||||||
message: |
|
|
||||||
Wiki.js **2.5.284** has been released!
|
|
||||||
See [release notes](https://github.com/requarks/wiki/releases) for details.
|
|
Loading…
Reference in New Issue
Block a user