Skip to content

Conversation

@StoneForests
Copy link

修改server酱的推送方式

原脚本
image
新脚本
image

添加自动commit和clean脚本

添加auto_commit和auto_clean脚本,防止action中断

# 修改server酱的推送方式
# 添加自动commit和clean脚本
@BlueHtml
Copy link
Owner

BlueHtml commented Dec 18, 2025

@StoneForests

  1. 自动commit保活cron定时任务,这个功能是不会加的。用的人多了github会删库的,你要想用可以自己修改代码。

  2. 最新代码已经支持执行命令,你可以使用自己喜欢的通知方式,只需要把通知命令填写到ConfScKey字段。

下面是2个例子:

  • server酱:

    "ScKey": "curl -G \"https://sctapi.ftqq.com/你的Token.send\" --data-urlencode \"title=有道云笔记签到\" --data-urlencode \"desp=$msg\"",
    "ScType": "Always",
    
  • pushplus:

    "ScKey": "curl -G \"https://www.pushplus.plus/send?token=你的Token&title=$title\" --data-urlencode \"content=$msg\"",
    "ScType": "Always",
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants