17 lines
505 B
YAML
17 lines
505 B
YAML
name: telegram message
|
|
on: [push]
|
|
jobs:
|
|
|
|
build:
|
|
name: Build
|
|
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.actor }} pushed ${{ github.event.commits[0].message }} (${{github.sha}})
|
|
|
|
https://github.com/${{ github.repository }}/commit/${{github.sha}}
|