Show latest posts in README.md file
Unproofread notes
If you visit my GitHub profile, you will find that there are 5 latest blog posts being shown inside the README.md file. And no, I'm not manually updating those each time I publish a new blog post on my website. But I am using a GitHub Action workflow to do this automatically.
If you visit the repo, they have explained all steps in very easy to understand way.
Initially, the CRON was set to 0 * * * * which runs once every hour, but that seemed unnecessary for my use case, so I made it 0 0 * * *, and now it runs once every day. Also, you need to add your RSS feed in the .github/workflows/blog-post-workflow.yml file, and it automatically starts pulling posts when the workflow runs.
Comment via email