mirror of
https://github.com/KazooTTT/kazoottt-blog-v2.git
synced 2025-06-23 02:31:31 +08:00
test: show display the category in rss
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -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"
|
||||||
|
Reference in New Issue
Block a user