-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (30 loc) · 1.18 KB
/
generate-feeds.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Update README
on:
schedule: # Run workflow automatically
- cron: '0 0 * * *' # Runs once a day
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:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update blogs list
uses: gautamkrishnar/blog-post-workflow@v1
with:
feed_list: 'https://kittychiu.github.io/feed.xml'
max_post_count: 4
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'
- name: Update readings list
uses: zwacky/goodreads-profile-workflow@main
with:
goodreads_user_id: '78391748'
shelf: 'currently-reading'
max_books_count: '4'
template: '<li><a href="$url">$title</a> <i>by $author</i></li>'