# Deploy from any Git host

An app doesn't need GitHub, GitLab or Bitbucket connected. In **Add an app**, choose **A Git URL** under **Source** and paste the repository's address.

## A public repository

Use the HTTPS address, such as `https://gitlab.com/acme/site.git`. Nothing else is needed.

## A private repository

Use the SSH address, such as `git@gitlab.com:acme/site.git`. Coresmith makes a key for this app alone. To copy its public half, choose **Copy public key** under **Repository access** on the **Setup** card of the app's page.

1. Add the public key to the repository as a read-only deploy key. On GitLab and Bitbucket it's in the repository's settings. On your own Git server, add it wherever that server keeps keys.
2. Deploy.

The app's page shows the key's fingerprint, so you can match it with the one your Git host lists.

## Deploy on every push

With **Auto deploy** on, Coresmith checks the branch for new commits every five minutes. For pushes within seconds instead, [connect GitLab or Bitbucket](/docs/git/gitlab-bitbucket), or [deploy from your CI](/docs/account/api-tokens).
