Skip to content

Commit c34622a

Browse files
committedMar 24, 2025
docs: Document GitHub App credentials GitHub Enterprise Base URL when creating repository (argoproj#22389)
Add CLI command to Add a private Git repository in GitHub Enterprise and update instruction. Signed-off-by: Denis Karpelevich <[email protected]>
1 parent fe347e3 commit c34622a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎docs/user-guide/private-repositories.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,16 @@ Using the CLI:
119119
argocd repo add https://github.com/argoproj/argocd-example-apps.git --github-app-id 1 --github-app-installation-id 2 --github-app-private-key-path test.private-key.pem
120120
```
121121

122+
!!!note
123+
To add a private Git repository on GitHub Enterprise using the CLI add `--github-app-enterprise-base-url https://ghe.example.com/api/v3` flag.
124+
122125
Using the UI:
123126

124127
1. Navigate to `Settings/Repositories`
125128

126129
![connect repo overview](../assets/repo-add-overview.png)
127130

128-
2. Click `Connect Repo using GitHub App` button, enter the URL, App Id, Installation Id, and the app's private key.
131+
2. Click `Connect Repo using GitHub App` button, choose type: `GitHub` or `GitHub Enterprise`, enter the URL, App Id, Installation Id, and the app's private key. Enter the GitHub Enterprise Base URL for type `GitHub Enterprise`.
129132

130133
![connect repo](../assets/repo-add-github-app.png)
131134

0 commit comments

Comments
 (0)
Please sign in to comment.