mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 11:58:37 +09:00
21 lines
564 B
YAML
21 lines
564 B
YAML
name: Telegram Upload
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
tg-upload:
|
|
timeout-minutes: 10
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Upload to Telegram
|
|
if: ${{ env.HAVE_TELEGRAM_API_ID == 'true' }}
|
|
uses: nikhilbadyal/ghaction-telegram-uploader@main
|
|
with:
|
|
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 != '' }}
|