Expect Apprise notify in workflow run

This commit is contained in:
Nikhil Badyal
2023-12-18 08:32:01 +05:30
committed by Nikhil Badyal
parent c25a9a4cc4
commit bef7a07753
+6 -1
View File
@@ -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 }}