Closed joemidi closed 8 years ago
If you run gulp deploy on a repository before you have used git init, you get the following error:
gulp deploy
git init
fatal: Not a git repository (or any parent up to mount point /Volumes/Data) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
which results in:
On branch, deploying to bannertime-test-
adding the extra hyphen it uses when creating a branch for deployment.
We should add a condition to the branch check on line 8 if it is returned empty.
if [ "$BRANCH" = "master" ]
to
if [ "$BRANCH" = "master" ] || [ -z "$BRANCH" ]
If you run
gulp deploy
on a repository before you have usedgit init
, you get the following error:which results in:
adding the extra hyphen it uses when creating a branch for deployment.
We should add a condition to the branch check on line 8 if it is returned empty.
to