FinalDream
V2EX  ›  问与答

一个 hexo 发布的问题

  •  
  •   FinalDream · Jul 26, 2014 · 7997 views
    This topic created in 4500 days ago, the information mentioned may be changed or developed.
    想尝试一下 hexo,可是执行发布命令式出现了一个错误
    [error] Deployer not found: undefined
    按官方文档中的说法,视乎只需要编辑
    deploy:
    type: github
    repo: <repository url>
    branch: [branch]
    message: [message]
    这一部分,我都已经填写正确了,不知道这个 deployer 指的是什么
    2 replies  •  2014-08-15 19:15:29 +08:00
    FinalDream
    FinalDream
    OP
    Jul 26, 2014
    1
    好吧,已经解决了,一个空格引发的,yml 实在蛋疼
    wowowo
    wowowo
    Aug 15, 2014
    2
    # Deployment
    ## Docs: http://hexo.io/docs/deployment.html
    deploy:
    type: github

    deploy不填写可以吗,为啥

    You should configure deployment settings in _config.yml first!

    Example:
    deploy:
    type: github
    repo: <repository url>
    branch: [branch]
    message: [message]

    For more help, you can check the docs: http://hexo.io/docs/deployment.html
    [info] Deploy done: github

    有什么解决办法
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1930 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 09:36 · PVG 17:36 · LAX 01:36 · JFK 04:36
    ♥ Do have faith in what you're doing.