summaryrefslogtreecommitdiff
path: root/jekyll-hook.js
diff options
context:
space:
mode:
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');