hexo: deploy responds but cannot deploy

Check List

Please check followings before submitting a new issue.

Question

After I executing the command hexo d, the command box only has the following 4 lines corresponding:

luosw@DESKTOP-6ROD0CG MINGW64 ~/hexo (master)
$ hexo d
INFO  Validating config
INFO  Deploying: git
INFO  Clearing .deploy_git folder...
INFO  Copying files from public folder...

Then the process terminates directly without any prompt, and the deploy is not successful.

Environment & Settings

Your site _config.yml (Optional)

# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# Site
title: luosw的小窝
subtitle: '我的小窝,我的自由……'
description: '一位 Moer 的学习记录'
keywords: hexo博客,个人博客,数学竞赛,MO,高联,IMO,CMO
author: luosw
language:
  - zh-CN
  - en
  - zh-HK
  - zh-TW
timezone: ''

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://luosw.fun
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
  trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
  trailing_html: true # Set to false to remove trailing '.html' from permalinks

# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:

# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
  enable: true # Open external links in new tab
  field: site # Apply to the whole site
  exclude: ''
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
  enable: false
  line_number: true
  auto_detect: false
  tab_replace: ''
  wrap: true
  hljs: false
prismjs:
  enable: false
  preprocess: true
  line_number: true
  tab_replace: ''

# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
  path: ''
  per_page: 10
  order_by: -date

# Category & Tag
default_category: uncategorized
category_map:
tag_map:

# Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true

# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports 'mtime', 'date', 'empty'
updated_option: 'mtime'

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

# Include / Exclude file(s)
## include:/exclude: options only apply to the 'source/' folder
include:
exclude:
ignore:

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: volantis

# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
  type: git
  repo:
    github: git@github.com:luosiwei-cmd/luosiwei-cmd.github.io.git
    coding: https://e.coding.net/luosw-blog/luosw-blog.git
  branch: master

Others

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 34 (3 by maintainers)

Commits related to this issue

Most upvoted comments

大家能否帮忙测试一下,直接从 master 分支安装 hexo-deployer-git 是否可以解决问题?谢谢反馈

npm un hexo-deployer-git
npm i hexojs/hexo-deployer-git

到底是因为什么,本来之前还可以,重新装一个主题之后就变成跟你一样了。搞一天了,tmd烦死了!

hexo-deployer-git version 3.0.0 has been released, please update the plugin to resolve this issue.

hexo-deployer-git 3.0.0 版本已发布,请更新插件来修复此问题。

npm i hexo-deployer-git@3.0.0

大家可以进群交流一下 857473043

到底是因为什么,本来之前还可以,重新装一个主题之后就变成跟你一样了。搞一天了,tmd烦死了!

我新建了一个全新的hexo站点仍然出现这个问题

大家能否帮忙测试一下,直接从 master 分支安装 hexo-deployer-git 是否可以解决问题?谢谢反馈

npm un hexo-deployer-git
npm i hexojs/hexo-deployer-git

我的不行哇,试了很多遍,还新建了站点,都不行

hexo-deployer-git 插件已经更新 3.0.0版本,更新即可 #3.0.0 版本已发布,请更新插件来修复此问题

Now I have a temporary way to solve this problem:

  1. Manually clone the repository
  2. Change locally
  3. Use git push -f to force push