From a05e723456a1dddb77f3f66aa33d74ab0408a340 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Wed, 13 Nov 2024 13:33:38 +0100 Subject: [PATCH] add telegram sender to builder --- .github/workflows/release_unstable.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/release_unstable.yml b/.github/workflows/release_unstable.yml index 0fc61a6..4c0272d 100644 --- a/.github/workflows/release_unstable.yml +++ b/.github/workflows/release_unstable.yml @@ -40,3 +40,17 @@ jobs: tags: ${{ env.IMAGE_NAME }} 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: | + Image successfully generated. + __Repository:__ *${{github.repository}} + __Image:__ ${{ env.IMAGE_NAME }} + __Canal:__ ${{ env.DOTCLEAR_CANAL }} \ No newline at end of file