Change blog section action.

This commit is contained in:
youngchief btw ツ 2022-11-24 12:51:32 -08:00
parent fcd0ccc833
commit cbc34bb3c7
Signed by: youngchief
GPG Key ID: D0B82F3B62643A2D
2 changed files with 9 additions and 7 deletions

View File

@ -1,16 +1,18 @@
name: Blog name: Blog
on: on:
workflow_dispatch: # for manual workflow trigger
schedule: schedule:
- cron: '0 8 * * *' - cron: '0 8 * * *'
jobs: jobs:
blog: blog:
name: Blog name: Blog
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: JasonEtco/rss-to-readme@v1 - name: Checkout
uses: actions/checkout@v2
- name: Pull in posts.
uses: gautamkrishnar/blog-post-workflow@v1
with: with:
feed-url: 'https://youngchief.tk/blog.rss' feed_list: "https://youngchief.tk/blog.rss"
readme-section: blog
empty-commits: false

View File

@ -6,8 +6,8 @@ My website: https://ycws.vercel.app
### Blog ### Blog
<!--START_SECTION:blog--> <!-- BLOG-POST-LIST:START -->
<!--END_SECTION:blog--> <!-- BLOG-POST-LIST:END -->
--- ---