Gitea

Use an HTTPS URL for a public repository or an SSH URL for a private repository with a deploy key.

https://gitea.example.com/example/application.git
[email protected]:example/application.git

Add the deploy key's public key to the repository before creating the private application.

Configure automatic deployments

  1. Open Configuration > Webhooks in the Coolify application.
  2. Copy the Gitea URL.
  3. Enter and save Gitea Webhook Secret.
  4. In Gitea, open the repository webhook settings.
  5. Enter the URL and the same secret.
  6. Enable Push.
  7. Enable pull-request events when using preview deployments.
  8. Enable Configuration > Advanced > Auto Deploy in Coolify.

Verify a push deployment first. Then open or update a pull request and inspect Configuration > Preview Deployments.

On this page