Skip to content

Commit 72446a5

Browse files
committed
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.
1 parent c9ba19e commit 72446a5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gh-assets-clone.sh

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# GIT_API_KEY.
44

55
[ ! -z "$GIT_ASSETS_BRANCH" ] || exit 1
6-
[ ! -z "$GIT_API_KEY" ] || exit 1
76

87
setup_git() {
98
git config --global user.email "[email protected]" || exit 1

0 commit comments

Comments
 (0)