terrancy
V2EX  ›  问与答

hexo 没法部署到 coding 的仓库,报错信息如下.

  •  
  •   terrancy · Aug 17, 2016 · 4067 views
    This topic created in 3733 days ago, the information mentioned may be changed or developed.

    FATAL ssh: Could not resolve hostname git.coding.net:terrancy: Name or service n ot known fatal: Could not read from remote repository.

    Please make sure you have the correct access rights and the repository exists.

    毫无疑问,应该是 hexo-deployer-git 模块解析的问题吧? 好纠结,怎么解决哈..

    3 replies  •  2016-08-17 11:12:35 +08:00
    terrancy
    terrancy
    OP
    Aug 17, 2016
    1
    找到解决方法,将"/"转成":".
    "ssh://[email protected]:{user}/{repository}" 改成 "ssh://[email protected]/{user}/{repository}"
    stiekel
    stiekel
    Aug 17, 2016
    2
    我这里的配置是:

    deploy:
    type: git
    repo:
    coding: [email protected]:Stiekel/blog.git,coding-pages

    正常部署。
    ITOutsider
    ITOutsider
    Aug 17, 2016 via iPhone
    3
    why not gitlab pages ?

    还支持 https
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4758 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 01:35 · PVG 09:35 · LAX 17:35 · JFK 20:35
    ♥ Do have faith in what you're doing.