Skip to content

Latest blog post workflow #667

Latest blog post workflow

Latest blog post workflow #667

name: Latest blog post workflow
on:
schedule: # Run workflow automatically
- cron: '0 0 * * *' # Runs day at midnight
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the GitHub Actions Workflow page directly
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@v2
- name: Pull in bekahhw.github.io posts
uses: gautamkrishnar/blog-post-workflow@v1
with:
max_post_count: "5"
feed_list: "https://bekahhw.github.io/feed.xml"