Files
docker-py-revanced/.github/workflows/upload-to-tg.yml
T
2022-08-25 10:13:35 +05:30

20 lines
560 B
YAML

name: Telegram Upload
on:
workflow_dispatch: # to trigger manually
jobs:
tg-upload:
if: ${{ inputs.TELEGRAM_API_ID }}
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Upload to Telegram
uses: nikhilbadyal/ghaction-telegram@main
with:
github_token: ${{ secrets.GH_TOKEN }}
telegram_api_id: $TG_API_ID
telegram_api_hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram_bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
telegram_chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}