mirror of
https://github.com/NohamR/NohamR.git
synced 2026-05-25 12:17:18 +00:00
Add workflow to update README with latest blog posts
This commit is contained in:
19
.github/workflow/blog-post-workflow.yml
vendored
Normal file
19
.github/workflow/blog-post-workflow.yml
vendored
Normal 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"
|
||||||
@@ -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" />
|
<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>
|
</div>
|
||||||
|
|
||||||
###
|
## Latest Blog Posts
|
||||||
|
<!-- BLOG-POST-LIST:START -->
|
||||||
|
<!-- BLOG-POST-LIST:END -->
|
||||||
Reference in New Issue
Block a user