Skip to content

Create a JavaScript Action to create juejin posts

License

Notifications You must be signed in to change notification settings

fszhangYi/juejin-posts-action

 
 

Repository files navigation

在 README 中追加掘金文章列表

使用方法

  1. README 中任意位置添加标志位
<!-- posts start -->
这里会插入生成的文章列表
<!-- posts end -->
  1. 设置工作流
jobs:
  juejin-posts:
    runs-on: ubuntu-latest
    steps:
      # 使用 actions/checkout 拉取仓库, see: https://github.com/actions/checkout
      - name: Checkout
        uses: actions/checkout@v3
        
      # 使用 KunLunXu-CC/juejin-posts-action 生成文章列表, 
      # see: https://github.com/KunLunXu-CC/juejin-posts-action
      - name: Append Juejin Posts List🔧
        uses: KunLunXu-CC/juejin-posts-action@main
        with: 
          user_id: "4459274891717223"
  
      # 使用 EndBug/add-and-commit 提交代码, see: https://github.com/EndBug/add-and-commit
      - name: Push to GitHub
        uses: EndBug/add-and-commit@v9
        with:
          branch: main
          default_author: github_actions
          message: 'juejin-posts'

About

Create a JavaScript Action to create juejin posts

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.5%
  • Shell 4.5%