Files
webhook/config.yaml.example
2026-05-15 11:51:50 +08:00

24 lines
580 B
Plaintext

# Webhook 配置文件
# 每次验证都会读取此文件
# 如果没有设置项目级apikey 就用全局 API Key
access_key: "YOUR_ACCESS_KEY_HERE"
# 是否显示详细日志(控制台输出 + 写入日志文件)
# true: 显示所有执行过程(默认)
# false: 秒回复成功,仅在脚本不存在时返回错误
show_log: true
# 项目配置
projects:
xsinfo:
api_key: "YOUR_ACCESS_KEY_HERE"
script: "xsinfo.sh"
enabled: true
# 添加更多项目:
# myblog:
# api_key: "your_blog_api_key"
# script: "myblog.sh"
# enabled: true