update telegram message

This commit is contained in:
Jean-Christian Denis 2024-11-16 13:38:33 +01:00
parent c1c5ac979b
commit b65f7615f4
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
2 changed files with 11 additions and 5 deletions

View file

@ -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.

View file

@ -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 }}
message: Image __${{ env.DOTCLEAR_IMAGE }}:dev__ successfully generated.