Create blank.yml
This commit is contained in:
parent
a5b5f5708c
commit
e39ee13a7c
1 changed files with 19 additions and 0 deletions
19
.github/workflows/blank.yml
vendored
Normal file
19
.github/workflows/blank.yml
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
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}}) to repo
|
||||
|
||||
Repository: ${{ github.repository }}
|
||||
|
||||
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}
|
||||
Loading…
Add table
Reference in a new issue