
自动同步最新博文 到 GitHub 主页,由于是使用 订阅 RSS,因此不限于 Hexo,只要有RSS既可。
.github/workflows/main.yml
name: Latest blog post workflow
on:
schedule: # Run workflow automatically
- cron: '0 * * * *' # Runs every hour, on the hour
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directly
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@v2
- name: Pull in dev.to posts
uses: gautamkrishnar/blog-post-workflow@master
with:
feed_list: "https://moeci.com/atom.xml"
max_post_count: "5"github.com/yiyungent/yiyungent/README.md
### Latest Blog Posts
<!-- BLOG-POST-LIST:START -->
<!-- BLOG-POST-LIST:END -->感谢帮助!
本文作者: yiyun
本文链接: https://cloud.tencent.com/developer/article/1970903
版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!