Create telegram-informer

This commit is contained in:
STAM 2021-05-18 22:23:44 +03:00 committed by GitHub
parent 8800abf736
commit bc10d4e126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

15
.github/workflows/telegram-informer vendored Normal file
View File

@ -0,0 +1,15 @@
name: telegram-informer
on: push
jobs:
update:
runs-on: ubuntu-20.04
steps:
- name: Configure git
run: |
echo "Changes! Notify!"
curl -s --data-urlencode -X POST ${{ secrets.TLG_URL }} -d chat_id=${{ secrets.TLG_CHAT }} -d text="${{ secrets.TLG_TEXT }}" -d "parse_mode=HTML" >> /dev/null