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

2016-08-17 01:19:08 +08:00
 terrancy

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 模块解析的问题吧? 好纠结,怎么解决哈..

2843 次点击
所在节点    问与答
3 条回复
terrancy
2016-08-17 01:30:21 +08:00
找到解决方法,将"/"转成":".
"ssh://git@git.coding.net:{user}/{repository}" 改成 "ssh://git@git.coding.net/{user}/{repository}"
stiekel
2016-08-17 07:08:02 +08:00
我这里的配置是:

deploy:
type: git
repo:
coding: git@git.coding.net:Stiekel/blog.git,coding-pages

正常部署。
ITOutsider
2016-08-17 11:12:35 +08:00
why not gitlab pages ?

还支持 https

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/299776

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX