Don't fail builds when GIT_API_KEY is not available (on PRs).

We don't need GIT_API_KEY to clone the assets branch, so don't require it.
This commit is contained in:
Will Rouesnel 2018-11-17 16:11:38 +11:00
parent c9ba19e6fd
commit 72446a5b1e
No known key found for this signature in database
GPG Key ID: 72DC65802A1091C5
1 changed files with 0 additions and 1 deletions

View File

@ -3,7 +3,6 @@
# GIT_API_KEY.
[ ! -z "$GIT_ASSETS_BRANCH" ] || exit 1
[ ! -z "$GIT_API_KEY" ] || exit 1
setup_git() {
git config --global user.email "travis@travis-ci.org" || exit 1