docs-mintlify/admin/deployment/continuous-deployment.mdx
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:
<Frame> </Frame>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
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.
<Warning>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.
</Warning> <div style={{ textAlign: "center" }}> </div>Cube Cloud will automatically deploy from the specified production branch
(master by default).