Step 1: Add Comment Markers to Your README
Add these HTML comment tags where you want your blog feed to render:
<!-- BLOG-POST-LIST:START -->
<!-- BLOG-POST-LIST:END -->Step 2: Create the GitHub Action
Save the following workflow to .github/workflows/blog-post-workflow.yml:
name: Latest blog post workflow
on:
schedule: # Run workflow automatically
- cron: '0 * * * *' # Runs every hour
workflow_dispatch: # Allows manual trigger
permissions:
contents: write
jobs:
update-readme-with-blog:
name: Update this repo's README with latest blog posts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gautamkrishnar/blog-post-workflow@v1
with:
feed_list: "https://yourblog.com/feed.xml"Generate RSS Workflow Markers
ProfileCrest injects RSS comment markers and generates workflow files automatically.
🚀 Open ProfileCrest Generator