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