Files
docker-py-revanced/.github/workflows/telegram-uploader-custom.yml
T
Nikhil Badyal 57fde567f7 👷 Reusable workflow
2022-10-13 21:43:44 +05:30

37 lines
977 B
YAML

name: Telegram Custom Upload
on:
workflow_dispatch:
inputs:
API_ID:
description: 'Telegram API ID'
required: true
type: number
API_HASH:
description: 'Telegram API HASH'
required: true
type: string
BOT_TOKEN:
description: 'Bot Token(Sender)'
required: true
type: string
CHAT_ID:
description: 'Chat ID(Receiver)'
required: true
type: number
STICKER_ID:
description: 'Sticker to Send'
required: false
default: 'CAACAgUAAxkBAAEY3d5jRDs4sojYzahDxU7wvl7_e1yRhwACuAYAApqD2VV9UCzjLNawRCoE'
type: string
jobs:
tg-upload:
uses: ./.github/workflows/telegram-uploader.yml
secrets:
TELEGRAM_API_ID: ${{ inputs.API_ID }}
TELEGRAM_API_HASH: ${{ inputs.API_HASH }}
TELEGRAM_BOT_TOKEN: ${{ inputs.BOT_TOKEN }}
TELEGRAM_CHAT_ID: ${{ inputs.CHAT_ID }}
STICKER_ID: ${{ inputs.STICKER_ID }}