V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
谷否 | 三分谷地,为你喜欢
AI 大模型 + 柔性供应链,不仅可以为你测试香水味道,还能一件定制实体香水,快速发货。
Promoted by wuqiwen
FinalDream
V2EX  ›  问与答

一个 hexo 发布的问题

  •  
  •   FinalDream · 2014-07-26 20:58:07 +08:00 · 7228 次点击
    这是一个创建于 4019 天前的主题,其中的信息可能已经有所发展或是发生改变。
    想尝试一下 hexo,可是执行发布命令式出现了一个错误
    [error] Deployer not found: undefined
    按官方文档中的说法,视乎只需要编辑
    deploy:
    type: github
    repo: <repository url>
    branch: [branch]
    message: [message]
    这一部分,我都已经填写正确了,不知道这个 deployer 指的是什么
    2 条回复    2014-08-15 19:15:29 +08:00
    FinalDream
        1
    FinalDream  
    OP
       2014-07-26 21:14:29 +08:00
    好吧,已经解决了,一个空格引发的,yml 实在蛋疼
    wowowo
        2
    wowowo  
       2014-08-15 19:15:29 +08:00
    # 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

    有什么解决办法
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2958 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 12:49 · PVG 20:49 · LAX 05:49 · JFK 08:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.