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 != '' }}