Skip to content

Commit 597887f

Browse files
Update blog post workflow template and date format
1 parent 6cb0f89 commit 597887f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/blog-post-workflow.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Latest blog post workflow
22

33
on:
44
schedule:
5+
# Runs once every hour
56
- cron: '0 * * * *'
67
workflow_dispatch:
78

@@ -19,10 +20,11 @@ jobs:
1920
feed_list: "https://medium.com/feed/@vishalgunjal"
2021
max_post_count: 5
2122

22-
# 👇 FIXED: $newline is at the START to prevent rows from merging
23-
template: "$newline| [$title]($url) | $date |"
23+
# 👇 STANDARD TEMPLATE (No custom JS)
24+
template: "$newline- 📝 [$title]($url) $date"
2425

25-
# 👇 FIXED: "dd MMM yyyy" gives you "16 Jan 2026"
26-
date_format: "dd MMM yyyy"
26+
# 👇 ROBUST FORMAT: "16 Jan 2026"
27+
# This uses the internal library's standard mask
28+
date_format: "dd mmm yyyy"
2729

28-
commit_message: "docs: fix table newlines and date format"
30+
commit_message: "docs: fixed date format to standard string"

0 commit comments

Comments
 (0)