源文件:

1
2
3
4
5
6
7
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
# repo: https://github.com/JaneYork/JaneYork.github.io.git
repo: https://e.coding.net/JaneYork/Hexo-blog.git
branch: master

修改为:

1
2
3
4
5
6
7
8
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
# repo: https://github.com/JaneYork/JaneYork.github.io.git
repo:
github: https://github.com/JaneYork/JaneYork.github.io.git,master
coding: https://e.coding.net/JaneYork/Hexo-blog.git,master

zhijie

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[root@VM_0_9_centos myblog]# hexo d
INFO Deploying: git
INFO Clearing .deploy_git folder...
INFO Copying files from public folder...
INFO Copying files from extend dirs...
[master 3ac35ae] Site updated: 2020-04-04 22:49:43
57 files changed, 14868 insertions(+), 1261 deletions(-)
create mode 100644 2020/04/01/build-station/hexo/001 -
Username for 'https://github.com': janeyork1314@163.com
Password for 'https://janeyork1314@163.com@github.com':
Enumerating objects: 186, done.
Counting objects: 100% (186/186), done.
Compressing objects: 100% (80/80), done.
Writing objects: 100% (128/128), 54.04 KiB | 3.18 MiB/s, done.
Total 128 (delta 55), reused 0 (delta 0)
remote: Resolving deltas: 100% (55/55), completed with 16 local objects.
To https://github.com/JaneYork/JaneYork.github.io.git
7ee8f31..3ac35ae HEAD -> master
Branch 'master' set up to track remote branch 'master' from 'https://github.com/JaneYork/JaneYork.github.io.git'.
On branch master
nothing to commit, working tree clean
Username for 'https://e.coding.net': janeyork1314@163.com
Password for 'https://janeyork1314@163.com@e.coding.net':
Enumerating objects: 258, done.
Counting objects: 100% (258/258), done.
Compressing objects: 100% (121/121), done.
Writing objects: 100% (200/200), 63.66 KiB | 3.03 MiB/s, done.
Total 200 (delta 85), reused 0 (delta 0)
remote: Resolving deltas: 100% (85/85), completed with 18 local objects.
To https://e.coding.net/JaneYork/Hexo-blog.git
0f92e31..3ac35ae HEAD -> master
Branch 'master' set up to track remote branch 'master' from 'https://e.coding.net/JaneYork/Hexo-blog.git'.
INFO Deploy done: git
[root@VM_0_9_centos myblog]#