Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.43 KB

File metadata and controls

50 lines (37 loc) · 1.43 KB
title Continuous deployment
description This guide covers features and tools you can use to deploy your Cube project to Cube Cloud.

Deploy with Git

Continuous deployment works by connecting a Git repository to a Cube Cloud deployment and keeping the two in sync.

First, go to the Build & Deploy tab on the Settings screen to make sure your deployment is configured to deploy with Git. Then click Generate Git credentials to obtain Git credentials:

The instructions to set up Cube Cloud as a Git remote are also available on the same screen:

git config credential.helper store
git remote add cubecloud <YOUR-CUBE-CLOUD-GIT-URL>
git push cubecloud master

Deploy with GitHub

First, ensure your deployment is configured to deploy with Git. Then connect your GitHub repository to your deployment by clicking the Connect to GitHub button, and selecting your repository.

If your organization uses SAML SSO for GitHub authentication, make sure to start an active SAML session prior to connecting to your GitHub account from Cube.

Cube Cloud will automatically deploy from the specified production branch (master by default).