Actions: Add Telegram Threads

This commit is contained in:
ProgramistaZpolski 2024-08-10 18:01:53 +02:00
parent e5c9a1f1f5
commit c56bb08ea7

View file

@ -29,4 +29,4 @@ jobs:
run: |
printf '<b>Nowy build nightly!</b>\nZbudowany z commitu: ${{ github.event.head_commit.message }}\n\nPobierz z: https://github.com/wezuwiusz/neowulkanowy/actions/workflows/nightly-apk.yml?query=is:success' > tg.html
TEXT=$(< "./tg.html")
curl -s "https://api.telegram.org/bot${{ secrets.TG_TOKEN }}/sendmessage" --data "text=${TEXT}&chat_id=-1002156238140&parse_mode=HTML&disable_web_page_preview=True" > /dev/null
curl -s "https://api.telegram.org/bot${{ secrets.TG_TOKEN }}/sendmessage" --data "text=${TEXT}&chat_id=-1002156238140&parse_mode=HTML&disable_web_page_preview=True&reply_to_message_id=13090" > /dev/null