create workflow

This commit is contained in:
AlexGyver
2022-06-27 23:20:38 +03:00
parent bba8bf7d70
commit cc8f7e27d8

19
.github/workflows/tg-send.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
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 }}
message: |
${{ github.event.repository.name }}
${{ github.event.release.body }}
https://github.com/${{ github.repository }}