add notification task
This commit is contained in:
parent
a453bfa0bb
commit
b99eb5b842
24
.gitea/workflows/apprise-notify.yaml
Normal file
24
.gitea/workflows/apprise-notify.yaml
Normal file
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user