Fix printf

This commit is contained in:
ProgramistaZpolski 2024-08-10 17:32:32 +02:00
parent 9afab5feea
commit e5c9a1f1f5

View file

@ -27,6 +27,6 @@ jobs:
path: app/build/outputs/apk/fdroid/debug/app-fdroid-debug.apk
- name: Send Telegram message
run: |
printf 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
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