hexo d 报错:INFO Validating config

今天在使用hexo搭建个人博客的时候,出现一个及其令人喷血的报错:

我几乎查遍了所有有关hexo提交报错的解决办法,都!没!用!


就在我准备重装虚拟机系统的时候,扫了一眼创建文件下的配置文件推送路径:

deploy:
  type: ''
  repo: 
    github: git@github.com:LemonMei/LemonMei.github.io.git
    # github: https://github.com/LemonMei/LemonMei.github.io.git
  branch: master

# backup
backup:
  type: git
  message: backup my blog of https://yourname.github.io/
  repository:
    github: https://github.com/LemonMei/LemonMei.github.io.git,backup

TMD!!!
我的type后面没有跟git!!!


真的绝了...


附上他正确的写法:

deploy:
  type: git
  repo: 
    github: git@github.com:LemonMei/LemonMei.github.io.git
    # github: https://github.com/LemonMei/LemonMei.github.io.git
  branch: master

# backup
backup:
  type: git
  message: backup my blog of https://yourname.github.io/
  repository:
    github: https://github.com/LemonMei/LemonMei.github.io.git,backup
posted @ 2021-11-14 21:35  藤井の树  阅读(2689)  评论(0编辑  收藏  举报