diff options
| -rw-r--r-- | config.sample.json | 2 | ||||
| -rwxr-xr-x | jekyll-hook.js | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/config.sample.json b/config.sample.json index 59a4c41..01da368 100644 --- a/config.sample.json +++ b/config.sample.json @@ -1,7 +1,7 @@  {      "gh_server": "github.com",      "temp": "/home/ubuntu/jekyll-hook", -    "public-repo": true, +    "public_repo": true,      "scripts": {          "build": "./scripts/build.sh",          "publish": "./scripts/publish.sh" diff --git a/jekyll-hook.js b/jekyll-hook.js index 80db6fd..a5d61fa 100755 --- a/jekyll-hook.js +++ b/jekyll-hook.js @@ -49,7 +49,7 @@ app.post('/hooks/jekyll/:branch', function(req, res) {          /* owner  */ params.push(data.owner);          /* giturl */ -        if (config.public-repo) { +        if (config.public_repo) {              params.push('https://' + config.gh_server + '/' + data.owner + '/' + data.repo + '.git');          } else {              params.push('git@' + config.gh_server + ':' + data.owner + '/' + data.repo + '.git'); | 
