Classic Docs
Docs Navigation

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.

If your project is configured to use an SSH key added as a configuration file, it would be good to verify the form of URLs in .gitmodules file. For example, when private submodule is hosted on Github, URL should be similar to the following

url =<repo_owner>/<repo>.git

Semaphore Docs are open source — Edit on GitHub


Occasional lightweight product and blog updates. Unsubscribe at any time.

2009-2020 © Rendered Text. All rights reserved. Terms of Service, Privacy policy, Security.