coollabsio / coolify

An open-source & self-hostable Heroku / Netlify / Vercel alternative.
https://coolify.io
Apache License 2.0
33.1k stars 1.77k forks source link

[Bug]: Unable to Identify github_app_uuid for Deploying Private Repository via Coolify API #3209

Open ssoronid opened 1 month ago

ssoronid commented 1 month ago

Description

I'm trying to deploy a private GitHub repository using the Coolify API on a self-hosted setup. The goal is to automate the deployment process through our front-end app, allowing Coolify to deploy instances on demand with unique environment variables for each.

Minimal Reproduction (if possible, example repository)

Set up a self-hosted Coolify instance. Create a Team. Create an Api Key. Create a GitHub app manually into Coolify resources. Attempt to use the API endpoint /api/v1/applications/private-github-app to deploy the repository using different IDs (ID, installation ID, client ID).

Exception or Error

"message": "GitHub App not found"

Version

v4.0.0-beta.323

Cloud?

andrasbacsai commented 1 month ago

github_app_uuid should be found in your Source view on Coolify's UI.

image

The Github App related endpoints are still missing from the API.

ssoronid commented 1 month ago

Edit: I found this actually working with that uuid, i'll keep experimenting and will close this soon if found the right way to do so.