Latest blog post workflow #7
This file contains hidden or 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 at 00:00 every Sunday (UTC time) | |
| # - cron: '0 0 * * 0' | |
| # # Allows you to run this workflow manually from the Actions tab for testing | |
| # workflow_dispatch: | |
| # jobs: | |
| # update-readme-with-blog: | |
| # name: Update this repo's README with latest blog posts | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - name: Checkout | |
| # uses: actions/checkout@v4 | |
| # - name: Pull in medium posts | |
| # uses: gautamkrishnar/blog-post-workflow@v1 | |
| # with: | |
| # # Your Medium RSS Feed | |
| # feed_list: "https://medium.com/feed/@vishalgunjal" | |
| # max_post_count: 5 | |
| # # Formatting: Bullet point + Title + Link | |
| # template: "$newline- 📝 [$title]($url)" | |
| # commit_message: "docs: update readme with latest medium posts" | |
| name: Latest blog post workflow | |
| on: | |
| schedule: | |
| - cron: '0 0 * * 0' | |
| workflow_dispatch: | |
| jobs: | |
| update-readme-with-blog: | |
| name: Update this repo's README with latest Medium posts | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Pull in Medium posts | |
| uses: gautamkrishnar/blog-post-workflow@v1 | |
| with: | |
| feed_list: "https://medium.com/feed/@vishalgunjal" | |
| max_post_count: 5 | |
| template: "$newline- 📝 [$title]($url) — $date" | |
| date_format: "dd MMM yyyy" | |
| commit_message: "docs: update README with latest Medium posts" |