zoukankan      html  css  js  c++  java
  • 使用Hexo+ Github 建站 时 使用 hexo d 命令异常:You should configure deployment settings in _config.yml first! Available deployer plugins: git For more help, you can check the online docs: https://hexo.io/

    今天莫名其妙的发布博客到github上发现报错了,错误如下:

    1:排查是否安装一下hexo-deployer-git这个模块
    没有安的话装使用指令安装:npm install hexo-deployer-git --save

    2:检查deploy: 下面的节点 如type:这些 需要缩进。 之前是这种格式

    改成这种格式即可:

    最后注意这段配置之间的空格(一定要有空格):

    # Deployment
    ## Docs: https://hexo.io/docs/deployment.html
    deploy:
      type: git
      repo: git@github.com:imtudou/imtudou.github.io.git
      branch: master
    
  • 相关阅读:
    Fluent API
    什么是blazor
    10.事务
    9.用ExecuteSqlCommand执行存储过程
    8.自增主键 插入指定主键的数据
    7.图
    6.实体与上下文的关系
    5.并发
    4.跟踪
    3.级联删除
  • 原文地址:https://www.cnblogs.com/imtudou/p/11205832.html
Copyright © 2011-2022 走看看