CI/CD Fails because missing files needed for build, but not wanted on public repo in a .gitignore

I’d recommend these two possible approaches:

  1. Add the files to a private Git submodule and add it to your dependencies: https://docs.codemagic.io/building/access-private-git-submodules/

  2. If there are not too many files, then you could encrypt them in Codemagic and then add them through environment variables.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top