webhook-tools/config/hooks.yaml

63 lines
No EOL
1.3 KiB
YAML

- id: suno_recharge
execute-command: /etc/webhook/scripts/suno-tools/suno-tools
pass-arguments-to-command:
- source: string
name: -e
- source: url
name: env
- source: string
name: -m
- source: url
name: amount
- source: string
name: -a
- source: url
name: account
# 华为消息通知
- id: hwsmn
execute-command: "/etc/webhook/scripts/hwsmn/hwsmn"
http-methods:
- "POST "
pass-arguments-to-command:
- source: string
name: -m
- source: payload
name: message
# 华为tls更新(自建证书)
- id: hwtlsupdate
execute-command: "/etc/webhook/scripts/tlsupdate/tlsupdate"
pass-arguments-to-command:
- source: string
name: -a
- source: url
name: action
- source: string
name: -i
- source: url
name: id
- id: jenkins_notify
execute-command: "/etc/webhook/scripts/notify/notify"
http-methods:
- "POST "
pass-arguments-to-command:
- source: string
name: -m
- source: payload
name: message
- source: string
name: -t
- source: payload
name: title
pass-file-to-command:
- source: payload
name: message
envname: MSG
base64decode: true
- source: payload
name: title
envname: TITLE
- source: payload
envname: FILE
name: file
base64decode: true