summaryrefslogtreecommitdiff
path: root/jekyll-hook.js
diff options
context:
space:
mode:
authorScisco <alireza@developmentseed.org>2014-07-17 14:04:34 -0400
committerScisco <alireza@developmentseed.org>2014-07-17 14:04:34 -0400
commit6b1c513513d20eb68d78299b0d19fb404d10014c (patch)
tree5491e914d3cc106a22da8521c008df3f4e1f27ce /jekyll-hook.js
parent38f970c6d3086bc7a5fa76722c12ba563fa38f95 (diff)
Fixed issue with config item naming
Diffstat (limited to 'jekyll-hook.js')
-rwxr-xr-xjekyll-hook.js2
1 files changed, 1 insertions, 1 deletions
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');