Deploy a public GitHub repository

You can deploy any public GitHub repository without creating a GitHub App or deploy key.

Create a resource

Coolify project page with the New button
  1. Open the required project and environment.
  2. Select + New.

Select Public Repository

Public Repository resource type in Coolify

Select Public Repository.

Choose the server

Self-hosted Coolify includes localhost

A self-hosted installation starts with a localhost server. Coolify selects it automatically when no other deployment server is available.

Server selection for a public repository application

Choose the server where the application should run.

Enter the repository URL

Public Git repository URL field in Coolify

Paste the public GitHub repository URL.

Select a branch through the URL

Coolify selects main for: https://github.com/coollabsio/coolify-examples

Coolify selects nodejs-fastify for: https://github.com/coollabsio/coolify-examples/tree/nodejs-fastify

Configure and deploy

Build configuration after checking a public repository
  1. Select Check Repository.
  2. Choose the Build Pack, internal port, base directory, and other required settings.
  3. Continue to the application configuration.
  4. Configure a domain and required variables.
  5. Deploy the application.

Read Build applications when you need help choosing the build method.

Open Deployments and confirm the repository, branch, and commit in the deployment log.

On this page