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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM