I had a project running circleci 2.0, with tests and deploy to AWS (based on tags)
On the other day, I’ve also added circleci 2.0 to another project (based on the same account), and basically made a copy from config file, only swapped the cache keys and folder.
Yet, the project #1 build started to fail. It breaks on the checkout code part, giving the error “Directory (/home/circleci/src) you are trying to checkout to is not empty and not git repository”.
I’ve tried to change the folder to another thing, yet, it always gives me the same error.
Here’s my config file from project #1
The build on the #2 project works fine, yet, #1 fails always.
I know that the working directory (and cache one) are the same directory on both projects, yet, I’ve tested with random folder names, and it gives me the same error on.
Thanks for the support