Building a project with git submodules

In your build commands you should add the following setup commands:

git submodule init
git submodule update

and as after job command add:

git submodule deinit --force .

Note: Make sure that Semaphore has permissions to clone your submodules repo. Please check documentation about private gems where you can find more information about setting permissions for private repos, if you are using those.