Skip to content

Commit

Permalink
Update generate-blogs-feed.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KittyChiu authored Sep 26, 2023
1 parent ca48a4b commit 8bfd0dd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/generate-blogs-feed.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Latest blog post workflow
on:
schedule: # Run workflow automatically
- cron: '0 * * * *' # Runs every hour, on the hour
- 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 latest blog posts
name: Update blog posts list
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -17,3 +17,8 @@ jobs:
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

0 comments on commit 8bfd0dd

Please sign in to comment.