Latest blog post workflow #308
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Latest blog post workflow | |
on: | |
schedule: | |
# Runs every 8 hour | |
- cron: '0 8 * * *' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
update-readme-with-blog: | |
name: Update this repos README with latest blog posts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: gautamkrishnar/blog-post-workflow@master | |
with: | |
max_post_count: "5" | |
readme_path: "./src/pages/index.mdx" | |
feed_list: "https://officialrajdeepsingh.medium.com/feed, https://www.freecodecamp.org/news/author/officialrajdeepsingh/rss, https://officialrajdeepsingh.dev/sitemap-0.xml" |