Files
docker-py-revanced/.github/workflows/upload-to-tg.yml
T
2022-08-21 16:16:32 +05:30

23 lines
626 B
YAML

name: Telegram Upload
on:
workflow_run:
workflows: [ "Build Revanced APK" ]
types:
- completed
workflow_dispatch: # to trigger manually
jobs:
tg-upload:
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: ${{ 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 }}