V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
FinalDream
V2EX  ›  问与答

一个 hexo 发布的问题

  •  
  •   FinalDream · Jul 26, 2014 · 7580 views
    This topic created in 4293 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
        1
    FinalDream  
    OP
       Jul 26, 2014
    好吧,已经解决了,一个空格引发的,yml 实在蛋疼
    wowowo
        2
    wowowo  
       Aug 15, 2014
    # 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   ·   Solana   ·   948 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:46 · PVG 05:46 · LAX 14:46 · JFK 17:46
    ♥ Do have faith in what you're doing.