Skip to content

Instantly share code, notes, and snippets.

@Zemerik
Created May 21, 2024 03:21
Show Gist options
  • Save Zemerik/ebb6f6af7c64173adf22aab5cd2c68a7 to your computer and use it in GitHub Desktop.
Save Zemerik/ebb6f6af7c64173adf22aab5cd2c68a7 to your computer and use it in GitHub Desktop.
This gist contains the yml file to update your Github Profile README.md with your latest blogs on Dev Community (dev.to)
name: 📚Blogs # You can name the workflow whatever you like
on:
schedule:
# Runs every hour
- cron: '0 * * * *'
workflow_dispatch:
jobs:
update-readme-with-blog:
name: ✅Update with latest Blogs # This is the workflow name, feel free to change or edit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gautamkrishnar/blog-post-workflow@master
with:
max_post_count: "4" # The maximum amount of posts that will show on your README
feed_list: "https://dev.to/feed/zemerik" # Remember to replace "zemerik" with your dev.to username
@Zemerik
Copy link
Author

Zemerik commented May 21, 2024

Important

To show the blogs on your README, you need to add the following in your README👇

<!-- BLOG-POST-LIST:START -->
<!-- BLOG-POST-LIST:END -->

Tip

Your blogs will show in between the two lines, so remember to place it accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment