Skip to content

Update blog posts list #27

Update blog posts list

Update blog posts list #27

name: Update blog posts list
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
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: kittychiu.github.io
uses: gautamkrishnar/blog-post-workflow@v1
with:
feed_list: 'https://kittychiu.github.io/feed.xml'
max_post_count: 3
date_format: 'mmmm yyyy'
template: '<li><a href="$url">$title</a> <i>$date</i></li>'
committer_username: "kittychiu[bot]"
committer_email: '[email protected]'
commit_message: '[auto] Updated README blog posts list'