test notify #148
17
.gitea/workflows/job_notify.yml
Normal file
17
.gitea/workflows/job_notify.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: notify
|
||||
on: [push]
|
||||
jobs:
|
||||
notify:
|
||||
name: notify
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: send
|
||||
uses: appleboy/telegram-action@master
|
||||
with:
|
||||
to: ${{ secrets.TELEGRAM_TO }}
|
||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||
message: |
|
||||
New commit by ${{ github.actor }}:
|
||||
Commit: ${{ github.event.commits[0].message }}
|
||||
Repository: ${{ github.repository }}
|
||||
Changes: https://git.unistack.org/${{ github.repository }}/commit/${{github.sha}}
|
Loading…
x
Reference in New Issue
Block a user