How to add a file that is needed to compile a project, but which is in the gitingore?

Hello!

Firstly, I’m sorry for my English.

Problem: I have an Android project on GitHub. This project uses Crashlytics library from Fabric. Project contains file named fabric.properties, that contains API-keys, and Fabric recommends to add this file to .gitignore. And without this file project can not be compiled. How to add this file to bitrise or API-keys in project so that was not visible in GitHub?

Regards.

Hi @bacecek,

Thanks for asking this here! :wink:

You can find a related discussion here:

In your case I’d suggest either Generic File Storage or Secret Env Vars + Script step.

If you’d have any questions feel free to comment in that discussion!

1 Like