Update notify-telegram.yml

This commit is contained in:
Kevin Figueroa 2023-05-22 22:57:12 -04:00 committed by GitHub
parent 6eb7b3dcbe
commit 2b01f204b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
name: telegram message name: Telegram notification
on: [push] on: [push]
jobs: jobs:
@ -6,11 +6,11 @@ jobs:
name: Build name: Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: send telegram message on push - name: Notify to internal Telegram group on push
uses: appleboy/telegram-action@master uses: appleboy/telegram-action@master
with: with:
to: ${{ secrets.GROUP_ID }} to: ${{ secrets.TG_INTERNAL_GROUP_ID }}
token: ${{ secrets.TELEGRAM_TOKEN }} token: ${{ secrets.TG_INTERNAL_BOT_TOKEN }}
format: markdown format: markdown
message: | message: |
[${{ github.actor }}](https://github.com/${{ github.actor }}) created a commit on [${{ github.repository }}](https://github.com/${{ github.repository }}) [${{ github.actor }}](https://github.com/${{ github.actor }}) created a commit on [${{ github.repository }}](https://github.com/${{ github.repository }})