Docs

Connect a Git provider

Deploy from GitHub, GitLab, Bitbucket, or any Git host by URL.

Which providers

  • Settings, Git lists every provider. The ones you can use now come first; the ones marked Coming soon cannot be picked yet.
  • You can also connect in context: from the new-app form, an app's page or a project's services page. You come back to the same page with what you typed kept.
  • Only owners and admins can connect or disconnect a provider. CloudPloy only reads your code; it never pushes to your repositories.

GitHub

  1. 1

    Connect GitHub

    In Settings, Git choose Connect GitHub. GitHub asks you to install CloudPloy Deploy on your account or organisation and to choose the repositories it may read.
  2. 2

    Pick a repository

    On the new-app form, choose the connection and the repository. Auto-deploy is on from the start: each push to the app's branch deploys it.
  3. 3

    Change access later

    Add or remove repositories in GitHub under Settings, Applications, CloudPloy Deploy, Configure.

GitLab.com

  • Shown in Settings, Git when GitLab is available for your team. Connect GitLab opens gitlab.com; approve CloudPloy and you are back in the console.
  • Every project you are a member of is listed, subgroups included. Auto-deploy adds a push webhook to the project with a secret token, and removes it when you turn auto-deploy off or disconnect.
  • GitLab has no narrower permission that can add a webhook, so CloudPloy asks for the api scope. It uses it only to list projects and branches, read code and manage its own webhook.
  • Self-managed GitLab: use Any Git URL below until it shows as available.

Bitbucket Cloud

  • Shown in Settings, Git when Bitbucket is available for your team. CloudPloy reads your account and repositories and manages its own webhooks; it never asks for write access to code.
  • Auto-deploy adds a push webhook with a secret; Bitbucket signs each delivery and CloudPloy refuses any delivery without a valid signature.

Any Git URL (Codeberg, Gitea, Forgejo, Azure DevOps, self-hosted GitLab and more)

No account needed. Paste the repository URL in the new-app form, or under Source on an app's page.

  1. 1

    Public repository

    Use the https URL, for example https://codeberg.org/owner/repo.git. CloudPloy clones it on your server.
  2. 2

    Private repository

    Use the SSH URL, for example git@git.example.com:owner/repo.git or ssh://git@host:2222/owner/repo.git. CloudPloy makes a key for the app and shows it under Source. Add it to the repository as a read-only deploy key, then deploy.
  3. 3

    Host key

    The Git host's SSH key is pinned at the first deploy. If it ever changes, deploys stop with a clear message. If the host changed its key on purpose, use Forget host key under Source and deploy again.
  4. 4

    Rotate the deploy key

    Rotate key under Source makes a new key pair. Replace the old key on the Git host.
  5. 5

    Auto-deploy

    Turn auto-deploy on for the app. CloudPloy shows a webhook URL and a secret once. Add a push webhook on your Git host with that URL, content type JSON, and the secret in: the Secret field (Gitea, Forgejo, Codeberg, GitHub), the Secret token field (GitLab), or the basic authentication password (Azure DevOps service hooks). To get a new secret, turn auto-deploy off and on again.

Good to know

  • Any Git URL apps deploy to your own servers, not to CloudPloy Cloud.
  • The repository host must resolve to public addresses. Private and internal addresses are refused.
  • Deleting the app deletes its deploy key at CloudPloy. Remove the key and the webhook on the Git host too.
  • Disconnecting GitHub, GitLab or Bitbucket removes CloudPloy's webhooks and turns auto-deploy off for the apps that used it. Public repositories still deploy; private ones need another connection under Source.
  • Agents can do the same through the MCP server and the API: list_git_providers shows the provider list, get_app_deploy_key returns the deploy key.