Push rejected, source repository is a shallow clone. Unshallow it with git fetch --all --unshallow and try pushing again.
when git push git@heroku.com:<APP NAME>.git $CIRCLE_SHA1:refs/heads/master
is executed in circle.yml.
I then added git fetch --all --unshallow
before it, but it still gives me the same error.
I then rebuild with SSH, accessed the build and executed git fetch --all --unshallow git push git@heroku.com:<APP NAME>.git $CIRCLE_SHA1:refs/heads/master
and the push succeeded…
so via SSH this is working but not via circle.yml.
after this, I have to cancel the build and if I run it again (Rebuild), it builds with no errors.
looks like the issue is on circleci side. any suggestions how to fix?