mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
👷 Reusable telegram upload
This commit is contained in:
@@ -78,18 +78,13 @@ jobs:
|
|||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
upload-to-telegram:
|
upload-to-telegram:
|
||||||
name: Telegram Upload
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 5
|
|
||||||
needs: [ build-apk ]
|
needs: [ build-apk ]
|
||||||
|
|
||||||
steps:
|
uses: ./.github/workflows/telegram-uploader.yml
|
||||||
- name: Upload to Telegram
|
secrets:
|
||||||
uses: nikhilbadyal/ghaction-telegram-uploader@main
|
TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }}
|
||||||
if: ${{ env.HAVE_TELEGRAM_API_ID == 'true' }}
|
TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
|
||||||
with:
|
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||||
API_ID: ${{ secrets.TELEGRAM_API_ID }}
|
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||||
API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
|
|
||||||
BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
|
||||||
CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
|
||||||
STICKER_ID: ${{ secrets.STICKER_ID }}
|
STICKER_ID: ${{ secrets.STICKER_ID }}
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tg-upload:
|
tg-upload:
|
||||||
timeout-minutes: 10
|
name: Telegram Upload
|
||||||
|
timeout-minutes: 5
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Upload to Telegram
|
- name: Upload to Telegram
|
||||||
|
|||||||
Reference in New Issue
Block a user