From c37c34ac129210103a1e1073fcf47b0b83d8b873 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sun, 19 Jun 2022 23:27:35 -0400 Subject: [PATCH] ci: fix telegram notify on build release workflow --- .github/workflows/build.yml | 7 +++---- .github/workflows/telegram.yml | 17 ----------------- 2 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 .github/workflows/telegram.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a752e574..ebb10de3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -360,16 +360,15 @@ jobs: SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK - name: Notify Telegram Channel - uses: appleboy/telegram-action@0.0.3 + uses: appleboy/telegram-action@v0.1.1 with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} format: markdown + disable_web_page_preview: true 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. - build-do-image: name: Build DigitalOcean Image diff --git a/.github/workflows/telegram.yml b/.github/workflows/telegram.yml deleted file mode 100644 index 90dd771c..00000000 --- a/.github/workflows/telegram.yml +++ /dev/null @@ -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.