Skip to content

sudojia/hexo-auto-submit-urls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-auto-submit-urls

使用 GitHub Actions 每天自动推送网站到 Bing 和 Bing 的 IndexNow 以及谷歌、百度

  1. 本项目是利用 hexo-generator-feed 生成的 RSS 进行解析并获取文章列表,所以需要你在 Hexo 安装该插件

    npm install hexo-generator-feed --save

    然后在博客的配置文件里添加如下配置

    feed:
      enable: true
      type: atom
      path: atom.xml
      limit: 0
      hub:
      content: true
      content_limit:
      content_limit_delim: ' '
      order_by: -date
      icon: 图标.icon
      autodiscovery: true
      template:

    详情见插件地址:hexojs/hexo-generator-feed

  2. Fork】本项目并在仓库的 settings -> Secrets and variables -> Actions -> New repository secret 添加环境变量