Add workflow to update README with latest blog posts

This commit is contained in:
√(noham)²
2026-01-01 18:57:59 +01:00
parent ebfd786d02
commit c43fa028f5
2 changed files with 22 additions and 1 deletions

19
.github/workflow/blog-post-workflow.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Latest blog post workflow
on:
schedule: # Run workflow automatically
- cron: '0 1 * * *' # Runs daily at 01:00
workflow_dispatch: # Run workflow manually
permissions:
contents: write
jobs:
update-readme-with-blog:
name: Update this repo's README with latest blog posts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Pull in codu posts
uses: gautamkrishnar/blog-post-workflow@v1
with:
feed_list: "https://noh.am/en/index.xml"

View File

@@ -3,4 +3,6 @@
<img src="https://github-readme-stats-steel-omega.vercel.app/api/top-langs?username=nohamr&locale=en&hide_title=false&layout=compact&card_width=320&langs_count=6&theme=dark&hide_border=true&order=2&hide=css,html,tex&size_weight=0.5" height="150" alt="languages graph" />
</div>
###
## Latest Blog Posts
<!-- BLOG-POST-LIST:START -->
<!-- BLOG-POST-LIST:END -->