forked from nikhilbadyal/docker-py-revanced
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (39 loc) · 1.18 KB
/
telegram-uploader-custom.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
CHANGELOG_GITHUB_REPOSITORY:
description: 'Repo to Fetch Changelog'
required: false
type: string
jobs:
tg-upload:
uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main
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 }}
CHANGELOG_GITHUB_REPOSITORY: ${{ inputs.CHANGELOG_GITHUB_REPOSITORY }}