From a101cac5033bcefc1180b24cb28ca47225086459 Mon Sep 17 00:00:00 2001 From: aayush262 <99584765+aayush2622@users.noreply.github.com> Date: Mon, 5 Feb 2024 23:05:39 +0530 Subject: [PATCH] fix: send apk to telegram --- .github/workflows/beta.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 3c0910b2a4..306132e4cc 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -108,10 +108,10 @@ jobs: curl -F "payload_json=${contentbody}" -F "dantotsu_debug=@app/build/outputs/apk/alpha/app-alpha.apk" ${{ secrets.DISCORD_WEBHOOK }} #Telegram - #curl -F "chat_id=${{ secrets.TELEGRAM_CHANNEL_ID }}" \ - #-F "document=@app/build/outputs/apk/alpha/app-alpha.apk" \ - #-F "caption=Alpha-Build: ${VERSION} / ${commit_messages}" \ - #https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument + curl -F "chat_id=${{ secrets.TELEGRAM_CHANNEL_ID }}" \ + -F "document=@app/build/outputs/apk/alpha/app-alpha.apk" \ + -F "caption=[Alpha-Build: ${VERSION}] Change logs :${commit_messages}" \ + https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument env: COMMIT_LOG: ${{ env.COMMIT_LOG }} @@ -127,4 +127,4 @@ jobs: pre-release-keep-count: 3 pre-release-drop-tag: true env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}