Comparing version 0.0.3 to 0.0.4
@@ -63,6 +63,4 @@ 'use strict'; | ||
console.log(req.body); | ||
var branch = (req.body.ref || req.body.payload.ref).split('/')[2]; | ||
var branch = req.body.ref.split('/')[2]; | ||
if(branch === self.repos[repository].inputBranch || branch === self.repos[repository].buildBranch) { | ||
@@ -69,0 +67,0 @@ self._updateRepo(repository); |
{ | ||
"name": "autopages", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"main": "lib/autopages.js", | ||
@@ -5,0 +5,0 @@ "description": "Automated compilation and deployment to gh-pages", |
14746
300