Skip to content

Commit

Permalink
docs: 更新说明
Browse files Browse the repository at this point in the history
  • Loading branch information
iDerekLi committed Aug 9, 2022
1 parent 5a21a85 commit d070485
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,23 @@ yarn
yarn checkin
yarn seagold
```

运行脚本前 配置环境变量 `/workflows/utils/env.js`

```javascript
module.exports = {
COOKIE: "掘金Cookie"
// ...
};
```

| Name | Value | Required |
| --- | --- | --- |
| COOKIE | 掘金网站Cookie ||
| COOKIE_2 | 多用户, 当需要同时运行多个掘金用户时所需, 支持最多 **5** 名用户(即COOKIE + COOKIE_2 - COOKIE_5) ||
| EMAIL_USER | 发件人邮箱地址(需要开启 SMTP) ||
| EMAIL_PASS | 发件人邮箱密码(SMTP密码) ||
| EMAIL_TO | 订阅人邮箱地址(收件人). 如需多人订阅使用 `, ` 分割, 例如: `[email protected], [email protected]` ||
| DINGDING_WEBHOOK | 钉钉机器人WEBHOOK ||
| PUSHPLUS_TOKEN | [Pushplus](http://www.pushplus.plus/) 官网申请,支持微信消息推送 ||

0 comments on commit d070485

Please sign in to comment.