Skip to content

Commit

Permalink
create blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
kujian committed Oct 23, 2023
1 parent 9a16bb7 commit 08a1827
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/blog-post-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Latest blog post workflow
on:
schedule: # Run workflow automatically
- cron: '0 * * * *' # Runs every hour, on the hour
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the GitHub Actions Workflow page directly
permissions:
contents: write # To write the generated contents to the readme

jobs:
update-readme-with-blog:
name: Update this repo's README with latest blog posts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Pull in dev.to posts
uses: gautamkrishnar/blog-post-workflow@v1
with:
feed_list: "https://toutiao.qdkfweb.cn/feed?d"
17 changes: 17 additions & 0 deletions .github/workflows/update-gh-activity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Update README
on:
schedule:
- cron: "0 * * * *"
workflow_dispatch:
jobs:
build:
name: Update this repo's README with recent activity
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v3
- uses: jamesgeorge007/github-activity-readme@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@
2. [2020年总结记录](https://mp.weixin.qq.com/s/u0YW8BFWYLquVauhHrkSMQ)
3. [2021年总结记录](https://mp.weixin.qq.com/s/zMnxIpxMdDrIyuLxHRnSPw)

[最新前端日报](https://github.com/kujian/frontendDaily/issues)
## [最新前端日报](https://github.com/kujian/frontendDaily/issues)

<!--START_SECTION:activity-->
<!--END_SECTION:activity-->


## [最新前端头条](https://toutiao.qdkfweb.cn/)

<!-- BLOG-POST-LIST:START -->
<!-- BLOG-POST-LIST:END -->

每日会挑选一些比较有用的文章发在公众号上,欢迎关注我。

Expand Down

0 comments on commit 08a1827

Please sign in to comment.