- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
问题:
hexo-blog$ hexo deploy
ERROR Deployer not found: github
然后我这样做
Hi XXXXXX! You've successfully authenticated, but GitHub does not provide shell access.
和
hexo-blog$ git remote -v
origin <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="e5828c91a5828c918d9087cb868a88" rel="noreferrer noopener nofollow">[email protected]</a>:FantasRu/data-structure-learning.git (fetch)
origin <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="33545a4773545a475b46511d505c5e" rel="noreferrer noopener nofollow">[email protected]</a>:FantasRu/data-structure-learning.git (push)
和
我也推得很好
Spider$ git push origin master
Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 41.43 KiB | 0 bytes/s, done.
Total 9 (delta 1), reused 0 (delta 0)
To https://github.com/FantasRu/Spider.git
174fcd0..2fc6d48 master -> master
那我的hexo出了什么问题,为什么无法连接git
这里是部署设置
最佳答案
你必须安装hexo-deployer-git使用 git 将生成的站点部署到指定分支上。
npm install hexo-deployer-git --save
请注意,根据您当前的配置,您将删除 master
分支上的所有源代码。我建议您部署在 gh-pages
上,以便可以自动访问 https://github.com/username/repository_name
deploy:
type: git
repo: <repository url>
branch: gh-pages
阅读hexo - deployment文档以获取更多信息
关于git - hexo:错误未找到部署程序:github,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34452547/
我想安排一些帖子在 future 发布,并从其他网站迁移一些过去发布的帖子。 我已经尝试修改我的源文件的 unix 文件创建日期,但这似乎没有做正确的事情。 最佳答案 hexo 控制源 .md 文件中
如何在 hexo 中重命名已发布的帖子? 目前,我正在删除现有帖子并通过复制旧帖子中的内容来创建新帖子。 有没有更好的方法呢? 最佳答案 除了您提到的删除帖子并重新创建它之外,您还可以重命名帖子文件名
我正在写博客,遇到一个问题,无法删除博客中的帖子。我只是在命令中找到了创建帖子,但找不到删除或删除命令。如何正确删除帖子?我应该使用什么命令? 此外,我将博客推送到页面。删除帖子后,页面可以更改吗?
我正在运行 Hexo Blog在我的本地主机上,端口 #4000。 我的 Hexo 博客软件位于一个名为 Mongoose 的目录中。我通过进入 Mongoose/blog 并输入 hexo serv
在 source/_posts 中,我有 post.md 和 post/ 目录来保存 post.md 的资源>. 在 post/ 中,我有 js/main.min.js ,它在 post.md 中用于
我正在运行 Hexo Blog在我的本地主机上,端口 #4000。 我的 Hexo 博客软件位于一个名为 Mongoose 的目录中。我通过进入 Mongoose/blog 并输入 hexo serv
主题_config.yml中有两个默认路由:/和/archieves。是否可以添加像 /about 这样的路由? 我尝试在 _config.yml 中添加 /about,但显示 Cannot GET/
我正在使用Hexo.io到目前为止我很喜欢它,但我对工作流程完全感到困惑。 这就是我必须做的 - 在一个终端中运行 hexo server 以便我可以看到本地站点。它坚持添加一个 hello worl
我已阅读下面的文档,但不知道如何阅读。 http://hexo.io/docs/localization.html 任何人都知道究竟如何? 我想要我的博客日文或英文。 我试过: 设置 lang: 到
我已经建立了一个 Hexo 博客,它运行良好。 我正在尝试为我的本地文件进行备份,我通过将文件上传到 GitHub 来做到这一点。(不托管页面,因为我已经这样做了) 但是,当我暂存文件时出现问题。 据
问题: hexo-blog$ hexo deploy ERROR Deployer not found: github 然后我这样做 Hi XXXXXX! You've successfully au
我一直在尝试在我的 Hexo 帖子中插入脚注(用 Markdown 编写,如果他们的标记语言相关的话)。我有使用 Jekyll 来支持我的网站的背景,当我使用 Jekyll 时,我会添加 [^n] (
问题: hexo-blog$ hexo deploy ERROR Deployer not found: github 然后我这样做 Hi XXXXXX! You've successfully au
使用静态站点生成器 Hexo我需要在着陆页 (index.ejs) 上显示所有标记为 featured 的帖子。 标签在各个帖子文件中定义: title: Lorem tags: - featured
我使用 Hexo 作为静态站点生成器,我想将 _drafts 处理到 public 文件夹,但不被列为帖子。 我想要将 name.md 草稿转到 public/drafts/name.html,以便我
我正在尝试在 hexo 中创建选项卡式代码块(作为标记插件),但我无法确定将我的 js 函数放在哪里。我以为我可以使用 the js helper 加载函数但我不知道在哪里包括助手。我尝试将其添加到标
在 Hexo.js 中,当你想输出一些文章时,你可以使用 .sort、.limit 和 .each 进行循环,for示例: all the other p
我有一个名为 source/about/index.ejs 的关于页面。在此页面中,我想使用 image_tag() helper在 ejs 标签和其他辅助函数中。但是,如果这样做,我会得到错误 im
我正在使用 Hexo 构建静态博客网站。 现在我想使用 Bulma 来简化设计。 但我想知道如何从 Markdown 中调用类名。 如果 markdown 的 # 或 ## 自动链接到 Bulma 的
我正在尝试用Hexo建立我的个人博客,它使用Markdown来写博客。在写我的关于页面时,我想使用 Tab 使对齐方式看起来更好,我希望对齐方式是这样的: 没有制表符,对齐方式如下所示: 这是我尝试过
我是一名优秀的程序员,十分优秀!