From b65f7615f445914c077d9d2d832a4658ba8d2646 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 16 Nov 2024 13:38:33 +0100 Subject: [PATCH] update telegram message --- .github/workflows/release_stable.yml | 10 ++++++++++ .github/workflows/release_unstable.yml | 6 +----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release_stable.yml b/.github/workflows/release_stable.yml index fc41428..9260ac6 100644 --- a/.github/workflows/release_stable.yml +++ b/.github/workflows/release_stable.yml @@ -96,3 +96,13 @@ jobs: ${{ env.DOTCLEAR_IMAGE }}:latest build-args: CANAL=${{ env.DOTCLEAR_CANAL }} platforms: linux/386,linux/amd64,linux/arm/V6 + + - name: Send Telegram Message Ok + uses: appleboy/telegram-action@master + env: + GITHUB_CONTEXT: ${{toJSON(github)}} + with: + to: ${{ secrets.TELEGRAM_ID }} + token: ${{ secrets.TELEGRAM_TOKEN }} + format: markdown + message: Images __${{ env.DOTCLEAR_IMAGE }}:latest__ and __${{ env.DOTCLEAR_IMAGE }}:${{ needs.check_release.outputs.version }}__ successfully generated. diff --git a/.github/workflows/release_unstable.yml b/.github/workflows/release_unstable.yml index 91b3452..b190326 100644 --- a/.github/workflows/release_unstable.yml +++ b/.github/workflows/release_unstable.yml @@ -49,8 +49,4 @@ jobs: to: ${{ secrets.TELEGRAM_ID }} token: ${{ secrets.TELEGRAM_TOKEN }} format: markdown - message: | - Image successfully generated. - __Repository:__ ${{github.repository}} - __Image:__ ${{ env.DOTCLEAR_IMAGE }} - __Canal:__ ${{ env.DOTCLEAR_CANAL }} \ No newline at end of file + message: Image __${{ env.DOTCLEAR_IMAGE }}:dev__ successfully generated. \ No newline at end of file