19 lines
No EOL
614 B
YAML
19 lines
No EOL
614 B
YAML
name: telegram message
|
|
on: [push]
|
|
|
|
jobs:
|
|
notify:
|
|
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
|
|
format: html
|
|
message: |
|
|
<b>new commit created</b> (<code>${{ github.actor }}</code>)
|
|
<i>${{ github.event.commits[0].message }}</i>
|
|
|
|
<a href='https://github.com/${{ github.repository }}/commit/${{github.sha}}'>see changes</a> |