This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Using Git submodules
Edit page
Learn how to configure Expo Build to use git submodules.
When using the default Version Control Systems (VCS) workflow, the content of your working directory is uploaded to Expo Build as it is, including the content of Git submodules. However, if you are building on CI or have cli.requireCommit set to true in eas.json or have a submodule in a private repository, you will need to initialize it to avoid uploading empty directories.
Submodules initialization
To initialize a submodule on Expo Build builder:
1
Create a secret with a base64 encoded private SSH key that has permission to access submodule repositories.
2
Add an eas-build-pre-install npm hook to check out those submodules, for example: