From 49e2010f07c4bf496570ff7067000a360e038048 Mon Sep 17 00:00:00 2001 From: william mantly Date: Fri, 8 Jul 2016 16:29:31 -0400 Subject: [PATCH] switched to prod --- routes/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/index.js b/routes/index.js index 3fd792c..8b17333 100644 --- a/routes/index.js +++ b/routes/index.js @@ -6,8 +6,8 @@ router.all('/', function(req, res, next) { console.log("some one is here"); if(req.headers['x-github-event'] === 'push'){ console.log("got a push!"); - if(req.body.ref === "refs/heads/master"){ - console.log('time to update master!'); + if(req.body.ref === "refs/heads/prod"){ + console.log('time to update prod!'); exec('/var/www/gitwrapperdeploy.sh', console.log, console.log); } }