Explorar o código

Move to travis git global

Kevin van Zonneveld %!s(int64=9) %!d(string=hai) anos
pai
achega
03c9fd36b3
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 3 0
      bin/travis-deploy
  2. 0 3
      bin/web-deploy

+ 3 - 0
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

+ 0 - 3
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"}