All the articles workflow #10917
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: All the articles workflow | |
on: | |
schedule: # Run workflow automatically | |
- cron: '0 * * * *' # Runs every hour, on the hour | |
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the GitHub Actions Workflow page directly | |
permissions: | |
contents: write # To write the generated contents to the readme | |
jobs: | |
update-readme-with-blog: | |
name: Update this repo's README with all the articles | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Pull Ni posts | |
uses: gautamkrishnar/blog-post-workflow@v1 | |
with: | |
max_post_count: 500 | |
readme_path: './articles/README.md' | |
comment_tag_name: "ALL-POSTS-LIST" | |
feed_list: "https://numericaideas.com/feed/" |