dokploy app set-git myapp --repo https://github.com/user/repo --branch main

Category: Dokploy

dokploy app set-git myapp --repo https://github.com/user/repo --branch main

Link an application to a GitHub/GitLab repository and branch for auto-deploy

Connects the app to a Git repository. Every push to the specified branch will trigger an automatic build and deployment via Dokploy's webhook. Set up the webhook in your GitHub repo settings using the URL shown in the Dokploy dashboard.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.