Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ireflux committed Jun 1, 2024
1 parent 2e7496e commit c30ca9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ _ __ `/__ __ \ _ \ __/

1. fork [qpet](https://github.com/ireflux/qpet) 到自己的仓库
2. 登录 [Q宠大乐斗](https://dld.qzapp.z.qq.com/qpet/cgi-bin/phonepk?cmd=index&channel=0) 获取 cookie
3. 从自己仓库中的 `qpet` 依次进入 `Setting -> Secrets -> New repository secret`
3. 从自己仓库中的 `qpet` 依次进入 `Setting -> Secrets and variables -> Actions -> New repository secret`
4. 添加 Name 为 `QPET_COOKIE`,Value 为 `获取到的 cookie`
5. (可选)微信接收运行日志: 添加 Name 为 `SERVERJ_SEND_KEY`,Value 为从 [Server酱](https://sct.ftqq.com/) 获取到的 `SENDKEY`
6. (可选) Telegram 接收运行日志: 添加 Name 为 `TELEGRAM_BOT_TOKEN`,Value 为 Telegram Bot 的 token;添加 Name 为 `TELEGRAM_CHAT_ID`,Value 为获取到的 chat_id. 具体创建 Telegram Bot,获取 token 和 chat_id 的操作流程可查看 [Telegram Bot API](https://core.telegram.org/bots/api#getting-updates) 文档
Expand Down

0 comments on commit c30ca9a

Please sign in to comment.