Public repositories

Use Public Repository when the repository can be cloned over HTTPS without authentication.

Create the application

Copy the HTTPS URL

Copy the repository's clone URL:

https://github.com/coollabsio/coolify-examples.git

Do not use an SSH URL for this source type.

Select Public Repository

Open a project, select + New, then select Public Repository.

Choose the deployment server when Coolify asks for one.

Check the repository

Paste the HTTPS URL and select Check Repository.

Coolify loads the repository and branch information. If the URL contains a GitHub branch path (for example, https://github.com/ShadowArcanist/netviz/tree/v2), Coolify preselects that branch. Otherwise, review the selected branch before continuing.

Configure and deploy

Choose the Build Pack, base directory, and required build settings. Configure the internal port and a domain when the application should be public.

Select Deploy and inspect the deployment log.

Enable automatic deployments

Connecting a public repository by URL does not configure automatic deployments. Use a repository webhook or an external workflow to deploy new commits automatically.

Add a manual Git webhook, then enable Configuration > Advanced > Auto Deploy. The provider can then notify Coolify when the configured branch changes.

Use a GitHub App instead when you want GitHub repository selection and webhook configuration through one integration.

On this page