From abe3f883aed3d89afcb969d341ed0f6543ba5f80 Mon Sep 17 00:00:00 2001 From: aayush262 Date: Sat, 6 Apr 2024 16:47:31 +0530 Subject: [PATCH] fix: telegram changelogs (again) --- .github/workflows/beta.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 03694b6896..558343ab4e 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -116,9 +116,10 @@ jobs: curl -F "dantotsu_debug=@app/build/outputs/apk/google/alpha/app-google-x86_64-alpha.apk" ${{ secrets.DISCORD_WEBHOOK }} #Telegram - curl -F "chat_id=${{ secrets.TELEGRAM_CHANNEL_ID }}" \ - -F "caption=Alpha-Build: ${VERSION}: ${commit_messages}" \ - https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument + curl -X POST \ + -d chat_id=${{ secrets.TELEGRAM_CHANNEL_ID }} \ + -d text="Alpha-Build: ${VERSION}: ${commit_messages}" \ + https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage curl -F "chat_id=${{ secrets.TELEGRAM_CHANNEL_ID }}" \ -F "document=@app/build/outputs/apk/google/alpha/app-google-armeabi-v7a-alpha.apk" \ https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument