Skip to content

Deploy from GitHub, GitLab, Bitbucket or any Git address

Connect a repository to your site and every push to its branch puts a new version online. You can connect GitHub, GitLab or Bitbucket, or any Git repository by its address. Only the workspace’s owners and admins can connect a repository.

You can connect one when you create a site (on the console’s Home page, under Import from a repository, choose GitHub, GitLab, Bitbucket or Another Git host), or later from an existing site: open it, go to its Settings tab and find Repository.

  1. Click Connect GitHub, then Continue with GitHub to sign in. This only reads the list of your repositories.

  2. If asked, click Install on GitHub and install Cloudzyro on the account or organisation that owns your repository. We suggest choosing only the repositories you want to deploy.

  3. Choose the Repository and its branch.

  4. If your site isn’t at the top of the repository, fill in Folder, for example apps/web.

  5. Click Deploy site.

Cloudzyro can read your repository’s files and marks each commit on GitHub with whether it went live. It never changes your code.

Each push to the connected branch becomes a new version, built and put online the same way as an upload. Your current version stays online until the new one is ready. You can follow each deploy on the site’s Versions tab.

While a site is connected to a repository, new versions come only from it: uploads and AI tools can’t deploy the site. To use them again, disconnect the repository first.

In the site’s Settings, under the repository:

  • GitHub: click Change branch or folder, choose the new branch or folder, then confirm. We deploy from the new branch straight away.
  • GitLab, Bitbucket and Git addresses: click Change folder to change the folder. It applies from the next push or Deploy latest commit. To deploy from another branch, disconnect and connect the repository again.

To stop pushes going online for a while, open the site’s Settings and click Pause automatic deploys. Pushes are then ignored until you click Resume automatic deploys. Deploy latest commit still works while they’re paused.

To pause every site in a workspace at once, for example during a code freeze, go to Settings, Advanced and click Pause automatic deploys under Automatic deploys. Click Turn back on when you’re ready.

In the site’s Settings, click Disconnect. Your site stays online with its current version, and its versions are kept.

  • GitHub: nothing changes on GitHub. To remove Cloudzyro’s access to the repository, change it in your GitHub settings.
  • GitLab and Bitbucket: choose Disconnect and remove to also remove our webhook and deploy key from the project (you may be asked to sign in first), or Just disconnect and remove them yourself in the project’s settings.