From b99eb5b842ed00725603008945c15babcb54b6ad Mon Sep 17 00:00:00 2001 From: Martin Dimitrov Date: Sun, 2 Nov 2025 13:11:41 -0800 Subject: [PATCH] add notification task --- .gitea/workflows/apprise-notify.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/apprise-notify.yaml diff --git a/.gitea/workflows/apprise-notify.yaml b/.gitea/workflows/apprise-notify.yaml new file mode 100644 index 0000000..6ae8570 --- /dev/null +++ b/.gitea/workflows/apprise-notify.yaml @@ -0,0 +1,24 @@ +name: Apprise Notify + +on: + workflow_call: + inputs: + title: + required: true + type: string + message: + required: true + type: string + +jobs: + notify: + runs-on: ubuntu-22.04 + + steps: + - name: Send notification + uses: cstuder/apprise-ga@master + with: + title: ${{ inputs.title }} + message: ${{ inputs.message }} + env: + APPRISE_URL: generic://apprise.local.chromart.cc/notify/chromart