ruby - octopress 发布博客出错

浏览:37日期:2022-10-23

问题描述

最近使用octopress无法发布博客,主要出现以下问题:

使用rake preview命令预览博客是正常的使用rake generate命令可以正常生成静态页面

但是用rake gen_deploy命令来发布就报错

## Pushing generated _deploy websiteERROR: Repository not found.fatal: Could not read from remote repository.

求大神指示

问题解答

回答1:

ERROR: Repository not found.fatal: Could not read from remote repository.

这不是说的很清楚,没有发现你的远程库,你应该是部署到github吧,查看你是否在github新了相应的库.你本地库的地址是否正确.

回答2:

检查_config.yml 的url参数是否设置正确

url: http://xxx.github.io

回答3:

将本地存放的该项目删除,然后从github重新download一份。

回答4:

你看你是不是没有在版本的分支下.

相关文章: