From 0ce5a4fbd64d6a3bcd09dd3da9cb1b4b9796c1e9 Mon Sep 17 00:00:00 2001 From: Anggiajuang Date: Thu, 8 Dec 2016 19:29:22 +0700 Subject: [PATCH 1/2] add git email & name to deployment config --- README.md | 3 +++ _config.yml | 3 +++ circle.yml | 5 +---- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 379c5f0..20ecfab 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # idjs.github.io + Website repository of id.js.org + +[![CircleCI](https://circleci.com/gh/idjs/idjs.github.io/tree/development.svg?style=svg)](https://circleci.com/gh/idjs/idjs.github.io/tree/development) diff --git a/_config.yml b/_config.yml index 57c0ebc..c5ae8f1 100644 --- a/_config.yml +++ b/_config.yml @@ -71,3 +71,6 @@ deploy: type: git repo: https://github.com/idjs/idjs.github.io branch: master + name: idjs + email: dev@id.js.org + message: 'Site updated: {{ now(\'YYYY-MM-DD HH:mm:ss\') }} [ci skip]' diff --git a/circle.yml b/circle.yml index 763ac84..b0ca581 100644 --- a/circle.yml +++ b/circle.yml @@ -5,7 +5,4 @@ deployment: pages: branch: development commands: - - hexo deploy -dependencies: - post: - - npm install -g hexo + - ./node_modules/.bin/hexo deploy From 6c6f247f07e92128a4d0bb3568cd0dfcb90636e4 Mon Sep 17 00:00:00 2001 From: Anggiajuang Date: Thu, 8 Dec 2016 20:52:36 +0700 Subject: [PATCH 2/2] @hellowin CR --- circle.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index b0ca581..b910e59 100644 --- a/circle.yml +++ b/circle.yml @@ -5,4 +5,4 @@ deployment: pages: branch: development commands: - - ./node_modules/.bin/hexo deploy + - npm run deploy diff --git a/package.json b/package.json index c945bc2..3545689 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "version": "3.2" }, "scripts": { - "test": "echo \"Ok: no test for now\" && exit 0" + "test": "echo \"Ok: no test for now\" && exit 0", + "deploy": "hexo deploy" }, "dependencies": { "hexo": "^3.2",