Skip to content

Commit

Permalink
Fix: Preview config (MountainDash#139)
Browse files Browse the repository at this point in the history
* remove yarn.lock

* support preview

* limit codecov

* Modify build command

* Modify again

* Modify wording
  • Loading branch information
KomoriDev authored Jan 30, 2024
1 parent e6b81f1 commit 6e19f3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/website-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Site Deploy
on:
push:
branches:
- master
- main

jobs:
publish:
Expand All @@ -21,7 +21,7 @@ jobs:
uses: ./.github/actions/setup-node

- name: Build Doc
run: pnpm build
run: pnpm docs:build

- name: Get Branch Name
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: ./.github/actions/setup-node

- name: Build Doc
run: pnpm build
run: pnpm docs:build

- name: Get Deploy Name
run: |
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/usage/03-send.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SAA 的 `MessageSegmentFactory`、`MessageFactory`、`AggregatedMessageFactory`

被动发送是指用户方触发消息发送,例如用户发送一条消息,然后 Bot 进行回复。

对于这个场景,可以直接使用 `send` 方法,saa会自动提取会话中的 PlatformTarget 和 Bot 进行发送。
对于这个场景,可以直接使用 `send` 方法,SAA 会自动提取会话中的 PlatformTarget 和 Bot 进行发送。

```python
cmd = on_command("say", rule=to_me())
Expand Down

0 comments on commit 6e19f3a

Please sign in to comment.