Skip to content

Commit

Permalink
docs: 增加不同平台获取id的说明
Browse files Browse the repository at this point in the history
  • Loading branch information
baozouai committed May 13, 2023
1 parent 19bb5bf commit 3840153
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
<!-- multi-platform-posts end -->
```

2. 拿到不同平台的id,填入下面的baozouai/multi-platform-posts-action@main的user_id

- 掘金:![](./assets/juejin_id.png)

- 知乎![](./assets/zhihu_id.png)

- 语雀 ![](./assets/yuque_id.png)

- 思否 ![](./assets/segmentfault_id.png)


2. 设置工作流([可参照我的](https://github.com/baozouai/baozouai/blob/master/.github/workflows/update_readme.yml))

```yaml
Expand Down Expand Up @@ -45,8 +57,8 @@ jobs:
- name: Append Juejin Posts List 📚
uses: baozouai/multi-platform-posts-action@main
with:
user_id: "3526889034488174"
platform: juejin
user_id: "3526889034488174" # 上面拿到不同平台的id后,填入这里
platform: juejin # 这里填写不同的平台,有juejin, zhihu, yuque, segmentfault

- run: |
git pull
Expand Down
Binary file added assets/juejin_id.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/segmentfault_id.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/yuque_id.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/zhihu_id.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3840153

Please sign in to comment.