From 03c9fd36b32c08ed6fb1febff652d2d3cf78f64f Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Mon, 9 May 2016 14:24:33 +0200 Subject: [PATCH] Move to travis git global --- bin/travis-deploy | 3 +++ bin/web-deploy | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/travis-deploy b/bin/travis-deploy index 5a50834d4..cb8bb46f2 100755 --- a/bin/travis-deploy +++ b/bin/travis-deploy @@ -4,5 +4,8 @@ set -o errexit set -o nounset # set -o xtrace +git config --global user.name 'Uppy Bot' +git config --global user.email 'uppybot@uppy.io' + # because a Travis deploy script has to be a real file npm run web:deploy --quiet diff --git a/bin/web-deploy b/bin/web-deploy index 5d175f36f..044002d6f 100755 --- a/bin/web-deploy +++ b/bin/web-deploy @@ -9,9 +9,6 @@ __dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" __file="${__dir}/$(basename "${BASH_SOURCE[0]}")" __base="$(basename ${__file} .sh)" -git config user.name 'Uppy Bot' -git config user.email 'uppybot@uppy.io' - ghpages_repo=${GHPAGES_REPO:-"transloadit/uppy"} ghpages_branch=${GHPAGES_BRANCH:-"gh-pages"} ghpages_url=${GHPAGES_URL:-"git@github.com:${ghpages_repo}.git"}