atlassian-json/.github/workflows/telegram-informer.yml

25 lines
462 B
YAML
Raw Normal View History

2021-05-18 22:23:44 +03:00
name: telegram-informer
2024-12-02 21:22:39 +03:00
on:
workflow_dispatch:
pull_request:
branches:
- '*'
tags:
- '*'
push:
branches:
- 'master'
2021-05-18 22:23:44 +03:00
jobs:
2021-05-18 22:24:55 +03:00
inform:
2021-05-18 22:23:44 +03:00
2024-12-02 21:22:39 +03:00
runs-on: ubuntu-24.04
2021-05-18 22:23:44 +03:00
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