trigger-latest-blog-post-workflow #702
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: # Run workflow automatically | |
| - cron: "0 0 15 * *" # Run on the 15th of every month. | |
| workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directly | |
| repository_dispatch: | |
| types: [trigger-latest-blog-post-workflow] | |
| jobs: | |
| update-readme-with-blog: | |
| name: Update this repo's README with latest blog posts | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: gautamkrishnar/blog-post-workflow@master | |
| with: | |
| feed_list: "https://blog.mphomphego.co.za/feed.xml" | |
| max_post_count: 10 | |