mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
💚 Added check to avoid running GitHub Actions
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
name: Telegram Upload
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: [ "Build Revanced APK" ]
|
||||
types:
|
||||
- completed
|
||||
workflow_dispatch: # to trigger manually
|
||||
|
||||
jobs:
|
||||
tg-upload:
|
||||
if: ${{ inputs.TELEGRAM_API_ID }}
|
||||
timeout-minutes: 10
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -16,7 +13,7 @@ jobs:
|
||||
uses: nikhilbadyal/ghaction-telegram@main
|
||||
with:
|
||||
github_token: ${{ secrets.GH_TOKEN }}
|
||||
telegram_api_id: ${{ secrets.TELEGRAM_API_ID }}
|
||||
telegram_api_id: $TG_API_ID
|
||||
telegram_api_hash: ${{ secrets.TELEGRAM_API_HASH }}
|
||||
telegram_bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
telegram_chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
|
||||
Reference in New Issue
Block a user