test: show display the category in rss

This commit is contained in:
KazooTTT
2025-02-08 16:00:56 +08:00
parent 36c24528f4
commit d12f6a2e40

View File

@ -1,7 +1,7 @@
name: Latest blog post workflow name: Latest blog post workflow
on: on:
schedule: # Run workflow automatically 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 workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the GitHub Actions Workflow page directly
jobs: jobs:
@ -14,8 +14,8 @@ jobs:
- name: Pull in dev.to posts - name: Pull in dev.to posts
uses: gautamkrishnar/blog-post-workflow@v1 uses: gautamkrishnar/blog-post-workflow@v1
with: with:
template: $newline - [$date $title]($url) template: $newline - [$date | $categories | $title]($url)
date_format: "yyyy-mm-dd" date_format: "yyyy-mm-dd"
feed_list: "https://blog.kazoottt.top/rss.xml" feed_list: "https://blog.kazoottt.top/rss.xml"
max_post_count: 25 max_post_count: 25
update-readme-with-memo: update-readme-with-memo:
@ -28,7 +28,7 @@ jobs:
uses: gautamkrishnar/blog-post-workflow@v1 uses: gautamkrishnar/blog-post-workflow@v1
with: with:
template: $newline - [$date $title]($url) template: $newline - [$date $title]($url)
date_format: "yyyy-mm-dd" date_format: "yyyy-mm-dd"
feed_list: "https://blog.kazoottt.top/notes/rss.xml" feed_list: "https://blog.kazoottt.top/notes/rss.xml"
max_post_count: 20 max_post_count: 20
comment_tag_name: "MEMO-POST-LIST" comment_tag_name: "MEMO-POST-LIST"