Skip to content

Commit c538bc9

Browse files
authored
Merge pull request #3 from idjs/feature/ci-git-deploy
setup git deploy & ci for hexo
2 parents 08c9483 + 2265bf2 commit c538bc9

File tree

3 files changed

+30
-14
lines changed

3 files changed

+30
-14
lines changed

_config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,6 @@ theme: landscape
6868
# Deployment
6969
## Docs: https://hexo.io/docs/deployment.html
7070
deploy:
71-
type:
71+
type: git
72+
repo: https://github.com/idjs/idjs.github.io
73+
branch: master

circle.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
machine:
2+
node:
3+
version: v6.9.2
4+
deployment:
5+
pages:
6+
branch: development
7+
commands:
8+
- hexo deploy
9+
dependencies:
10+
post:
11+
- npm install -g hexo

package.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
{
2-
"name": "hexo-site",
3-
"version": "0.0.0",
2+
"name": "idjs.github.io",
3+
"version": "0.1.0",
44
"private": true,
55
"hexo": {
6-
"version": "3.2.2"
6+
"version": "3.2"
7+
},
8+
"scripts": {
9+
"test": "echo \"Ok: no test for now\" && exit 0"
710
},
811
"dependencies": {
9-
"hexo": "^3.2.0",
10-
"hexo-deployer-git": "^0.2.0",
11-
"hexo-generator-archive": "^0.1.4",
12-
"hexo-generator-category": "^0.1.3",
13-
"hexo-generator-index": "^0.2.0",
14-
"hexo-generator-tag": "^0.2.0",
15-
"hexo-renderer-ejs": "^0.2.0",
16-
"hexo-renderer-marked": "^0.2.10",
17-
"hexo-renderer-stylus": "^0.3.1",
18-
"hexo-server": "^0.2.0"
12+
"hexo": "^3.2",
13+
"hexo-deployer-git": "^0.2",
14+
"hexo-generator-archive": "^0.1",
15+
"hexo-generator-category": "^0.1",
16+
"hexo-generator-index": "^0.2",
17+
"hexo-generator-tag": "^0.2",
18+
"hexo-renderer-ejs": "^0.2",
19+
"hexo-renderer-marked": "^0.2",
20+
"hexo-renderer-stylus": "^0.3",
21+
"hexo-server": "^0.2"
1922
}
2023
}

0 commit comments

Comments
 (0)