DEV Community

mikeselva
mikeselva

Posted on • Updated on

Update Profile README with Latest Blog Posts

In this blog we are going to be Updating your Profile README with your Latest Blog Posts:

Image description

Let's Get Started!!

Firstly add the following markdown to your README file:

### Recent Articles on Medium
<!-- MEDIUM-POST-LIST:START -->
<!-- MEDIUM-POST-LIST:END -->
Enter fullscreen mode Exit fullscreen mode

Secondly click on Actions then click on set up a workflow yourself

Thirdly in the .github/workflows folder add medium-feed.yml then add the following code:

name: Latest Medium Articles
on:
  schedule:
    - cron: '12 */1 */2 * *'
  workflow_dispatch:

jobs:
  update-readme-with-devto-articles:
    name: Update this repo's README with latest DEV.to Articles
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: gautamkrishnar/blog-post-workflow@master
        with:
          comment_tag_name: "MEDIUM-POST-LIST"
          feed_list: "https://medium.com/feed/@mikeselva"
Enter fullscreen mode Exit fullscreen mode

And You should get the following results if you don't please consider looking at my code My Profile:

Image description

And Boom,

You have Updated Your Profile README with your latest blog posts

See You Next Time,

Bye

Top comments (0)