From 76ea5f0e85dec71ba1c4d1f02305c1a80f096b9e Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Sun, 2 Oct 2022 00:50:45 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Updated=20Telegram=20uploader=20?= =?UTF-8?q?workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/upload-to-tg.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/upload-to-tg.yml b/.github/workflows/upload-to-tg.yml index 8fb315c..0d26d71 100644 --- a/.github/workflows/upload-to-tg.yml +++ b/.github/workflows/upload-to-tg.yml @@ -10,12 +10,11 @@ jobs: steps: - name: Upload to Telegram if: ${{ env.HAVE_TELEGRAM_API_ID == 'true' }} - uses: nikhilbadyal/ghaction-telegram@main + uses: nikhilbadyal/ghaction-tg-uploader@main with: - github_token: ${{ secrets.GH_TOKEN }} - telegram_api_id: ${{ secrets.TELEGRAM_API_ID }} - telegram_api_hash: ${{ secrets.TELEGRAM_API_HASH }} - telegram_bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }} - telegram_chat_id: ${{ secrets.TELEGRAM_CHAT_ID }} + API_ID: ${{ secrets.TELEGRAM_API_ID }} + API_HASH: ${{ secrets.TELEGRAM_API_HASH }} + BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} + CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} env: HAVE_TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID != '' }}