Permalink
Browse files

added githookAuth to server

  • Loading branch information...
coolaj86 committed Nov 11, 2011
1 parent 433be13 commit 412b38e2d9d9d06f3e7a8eb4a1dc1041743f99cf
Showing with 4 additions and 3 deletions.
  1. +1 −1 config.default.js
  2. +3 −2 server.js
View
@@ -6,6 +6,6 @@
, env: "development"
, user: "www-data"
// http://user:pass@anything.server.net/github-hook
- , githubAuth: "username:password"
+ , githookAuth: "username:password"
};
}());
View
@@ -77,8 +77,9 @@
- if (config.githookAuth) {
- servers.push(githubHook(config.githookAuth, __dirname + '/githook.sh'));
+ if (config.githookAuth || config.githubAuth) {
+ console.log('loaded with githookAuth');
+ servers.push(githubHook(config.githookAuth || config.githubAuth, __dirname + '/githook.sh'));
}
if (!config.yeswww) {

0 comments on commit 412b38e

Please sign in to comment.