You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
579 B
YAML
21 lines
579 B
YAML
|
|
name: Telegram Message
|
|
on:
|
|
release:
|
|
types: [published]
|
|
jobs:
|
|
build:
|
|
name: Send Message
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: send telegram message on push
|
|
uses: appleboy/telegram-action@master
|
|
with:
|
|
to: ${{ secrets.TELEGRAM_TO }}
|
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
|
disable_web_page_preview: true
|
|
message: |
|
|
${{ github.event.repository.name }} v${{ github.event.release.tag_name }}
|
|
${{ github.event.release.body }}
|
|
https://github.com/${{ github.repository }}
|