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:
parent
c9ba19e6fd
commit
72446a5b1e
|
@ -3,7 +3,6 @@
|
||||||
# GIT_API_KEY.
|
# GIT_API_KEY.
|
||||||
|
|
||||||
[ ! -z "$GIT_ASSETS_BRANCH" ] || exit 1
|
[ ! -z "$GIT_ASSETS_BRANCH" ] || exit 1
|
||||||
[ ! -z "$GIT_API_KEY" ] || exit 1
|
|
||||||
|
|
||||||
setup_git() {
|
setup_git() {
|
||||||
git config --global user.email "travis@travis-ci.org" || exit 1
|
git config --global user.email "travis@travis-ci.org" || exit 1
|
||||||
|
|
Loading…
Reference in New Issue