美文网首页hexoHexo关于hexo
hexo ERROR Deployer not found: g

hexo ERROR Deployer not found: g

作者: JinyaMax | 来源:发表于2016-05-04 06:18 被阅读138次

利用 Hexo & Github 搭建静态博客时出现
ERROR Deployer not found: github

解决办法

  1. 安装hexo-deployer-git

     $ npm install hexo-deployer-git --save
    
  2. 在"_config.yml"配置中将deploy 的 type由github改为git

     deploy
         type: git
         repository: git@github.com:YOUR_ID/YOUR_ID.github.io.git
         branch: master
    
  3. 重新deploy

     $ hexo deploy
    

Over~

相关文章

网友评论

    本文标题:hexo ERROR Deployer not found: g

    本文链接:https://www.haomeiwen.com/subject/llsrrttx.html