From cbc34bb3c7e66b4250f7c117e22ad2787131d656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?youngchief=20btw=20=E3=83=84?= Date: Thu, 24 Nov 2022 12:51:32 -0800 Subject: [PATCH] Change blog section action. --- .github/workflows/blog.yml | 12 +++++++----- README.md | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/blog.yml b/.github/workflows/blog.yml index 3e3c247..3e8664f 100644 --- a/.github/workflows/blog.yml +++ b/.github/workflows/blog.yml @@ -1,16 +1,18 @@ name: Blog on: + workflow_dispatch: # for manual workflow trigger schedule: - - cron: '0 8 * * *' + - cron: '0 8 * * *' jobs: blog: name: Blog runs-on: ubuntu-latest steps: - - uses: JasonEtco/rss-to-readme@v1 + - name: Checkout + uses: actions/checkout@v2 + - name: Pull in posts. + uses: gautamkrishnar/blog-post-workflow@v1 with: - feed-url: 'https://youngchief.tk/blog.rss' - readme-section: blog - empty-commits: false \ No newline at end of file + feed_list: "https://youngchief.tk/blog.rss" \ No newline at end of file diff --git a/README.md b/README.md index b3ad1d3..4d66f27 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ My website: https://ycws.vercel.app ### Blog - - + + ---