👷 Updated Telegram uploader workflow

This commit is contained in:
Nikhil Badyal
2022-10-02 00:50:45 +05:30
parent 6ad38d52d3
commit 76ea5f0e85
+5 -6
View File
@@ -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 != '' }}