A GitHub Action that pulls your latest Hashnode (or any RSS feed) posts and rewrites the marker block in your README on a schedule. No more manually updating your portfolio every time you publish.
Type a Hashnode publication host (custom domain or
username.hashnode.dev). The preview and README markdown
update live.
— run the demo to see output —
Click any host below to load its latest posts into the demo above.
Add this workflow to .github/workflows/blog-post-workflow.yml and put the marker comments in your README.
name: Latest blog post workflow
on:
schedule:
- cron: '0 * * * *' # every hour
workflow_dispatch:
permissions:
contents: write
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: codenificient/blog-post-workflow@v1
with:
hashnode_api_key: ${{ secrets.HASHNODE_API_KEY }}
github_username: 'your-github-username'