Skip to content

Update generate-blogs-feed.yml #2

Update generate-blogs-feed.yml

Update generate-blogs-feed.yml #2

name: Latest blog post 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 blog posts list
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: kittychiu.github.io posts
uses: gautamkrishnar/blog-post-workflow@v1
with:
feed_list: "https://kittychiu.github.io/feed.xml"
max_post_count: 3
date_format: "mmm d, yyyy"
committer_username: "kittychiu[bot]"
committer_email: "[email protected]"
commit_message: "[auto] Updated README blog posts list

Check failure on line 24 in .github/workflows/generate-blogs-feed.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/generate-blogs-feed.yml

Invalid workflow file

You have an error in your yaml syntax on line 24