diff --git a/.github/workflows/blog.yml b/.github/workflows/blog.yml new file mode 100644 index 0000000..0823f09 --- /dev/null +++ b/.github/workflows/blog.yml @@ -0,0 +1,15 @@ +name: Update blog posts section. + +on: + schedule: + # Once a day at 8 AM + - cron: 0 8 * * * + +jobs: + update: + runs-on: ubuntu-latest + steps: + - uses: JasonEtco/rss-to-readme@v1 + with: + feed-url: https://youngchief.tk/blog.rss + readme-section: Blog \ No newline at end of file diff --git a/README.md b/README.md index 3ef6d5d..f54c351 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,11 @@ My website: https://ycws.vercel.app ![YoungChief's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=youngchief&show_icons=true&theme=tokyonight&layout=compact) +--- + +# Blog + +