Skip to content

sh-youtube/Hashnode-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 

Repository files navigation

Connect your Hashnode blog's RSS to github portfolio

first of all watching this video or read this post

then use this yaml code for github action:

name: Hashnode Blog Posts
on:
  schedule:
    # Runs every 6 hours of the day
    - cron: '0 */6 * * *'
  workflow_dispatch:

jobs:
  update-readme-with-blog:
    name: Update this repo's README with the latest blog posts
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: gautamkrishnar/blog-post-workflow@master
        with:
          comment_tag_name: "BLOGPOSTS"
          feed_list: "<link-to-your-rss>"
          template: "$newline - $randomEmoji(๐Ÿ’ฏ,๐Ÿ”ฅ,๐Ÿ’ซ,๐Ÿš€,๐ŸŒฎ) [$title]($url)"
          commit_message: "recent posts section updated"
          gh_token: ${{ secrets.GITHUB_TOKEN }}

About

connect your hashnode blog to your github account

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published