My project consist of submodule that I push on Github publicly. But my main repo is private repository. I would like to deploy my Springboot App to Heroku. I tried to follow this step from Heroku.
When I push and deploy to Heroku, the error occurred.
remote: > Task :generateGitProperties FAILED
remote:
remote: FAILURE: Build failed with an exception.
remote:
remote: * What went wrong:
remote: Execution failed for task ':generateGitProperties'.
remote: > No .git directory found!
How to solve this problem on heroku?
edit: I tried to remove the submodule first, and the git directory not found issue still found.