mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
✨ Expect Apprise notify in workflow run
This commit is contained in:
committed by
Nikhil Badyal
parent
c25a9a4cc4
commit
bef7a07753
@@ -21,6 +21,11 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
APPRISE_NOTIFY:
|
||||||
|
description: "Use Apprise to Notify"
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
VIRUSTOTAL_SCAN:
|
VIRUSTOTAL_SCAN:
|
||||||
description: "Scan apks with VirusTotal"
|
description: "Scan apks with VirusTotal"
|
||||||
required: false
|
required: false
|
||||||
@@ -132,6 +137,7 @@ jobs:
|
|||||||
name: Apprise Notifier
|
name: Apprise Notifier
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
|
if: inputs.APPRISE_NOTIFY
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download Already Built APKs
|
- name: Download Already Built APKs
|
||||||
@@ -155,7 +161,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload to Telegram
|
- name: Upload to Telegram
|
||||||
uses: nikhilbadyal/ghaction-apprise@main
|
uses: nikhilbadyal/ghaction-apprise@main
|
||||||
if: ${{ steps.ff.outputs.has_apprise_url }} == 'true'
|
|
||||||
with:
|
with:
|
||||||
APPRISE_URL: ${{ secrets.APPRISE_URL }}
|
APPRISE_URL: ${{ secrets.APPRISE_URL }}
|
||||||
APPRISE_NOTIFICATION_BODY: ${{ secrets.APPRISE_NOTIFICATION_BODY }}
|
APPRISE_NOTIFICATION_BODY: ${{ secrets.APPRISE_NOTIFICATION_BODY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user