From a0f0f1d345bb25ed7f0aebde6d033b1a9cee72e1 Mon Sep 17 00:00:00 2001 From: Gregor Martynus Date: Wed, 22 Apr 2015 20:49:03 +0200 Subject: [PATCH] fix: docs deployment script --- bin/authorize-push.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/bin/authorize-push.js b/bin/authorize-push.js index 2ab6e81..c313668 100755 --- a/bin/authorize-push.js +++ b/bin/authorize-push.js @@ -9,8 +9,6 @@ if (!(process.env.CI && GH_TOKEN && repo)) { process.exit(1) } -exec( - 'git remote set-url origin ' + repo.replace('https://', 'https://' + GH_TOKEN + '@') + ' && ' - 'git config user.email stephan@thehoodiefirm.com && ' - 'git config user.name "Hoodie Bot"' -) +exec('git remote set-url origin ' + repo.replace('https://', 'https://' + GH_TOKEN + '@') + ' && ') +exec('git config user.email stephan@thehoodiefirm.com && ') +exec('git config user.name "Hoodie Bot"')