Skip to content

Deploy modules with Git (GitLab/Bitbucket/Other)

4. How to commit changes to Odoo using Git deployment on Cloudpepper

Click on Details of the Odoo instance for which you want to add a repo. This can be a production instance or a staging instance.

Odoo instance details screen in Cloudpepper

Under the details of your instance, you can go to Addons, where you can add a git repo, whether it’s private or public.

Addons section for adding a Git repository

Use the SSH Git link. Once you put in the link when adding a repository in Cloudpepper, you will receive a unique SSH Key. Add this SSH Key as a Deploy Key in Github and you’ll be able to import the modules of your repository.

SSH deploy key shown for a private Git repository

Ensure to use the SSH link on Github.

GitHub SSH clone URL for a private repository

Cloudpepper allows you to select which modules you want to install to your instance.

Select Odoo modules to install from a Git repository

The modules will be installed and can be activated on the App dashboard in your Odoo instance.

When new changes have been committed, click the “Update”-button next to your repo.