You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/web_cloud/web_hosting/git_integration_webhosting/guide.en-asia.md
+37-27
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Configuring and using Git with an OVHcloud web hosting plan"
3
3
excerpt: "Find out how to configure and use Git with your web hosting plan in the OVHcloud Control Panel"
4
-
updated: 2024-09-12
4
+
updated: 2025-01-30
5
5
---
6
6
7
7
## Objective
@@ -46,36 +46,14 @@ Log in to your [OVHcloud Control Panel](/links/manager) and perform the followin
46
46
47
47
The Git association form is displayed. There are several elements that need to be configured:
48
48
49
-
- SSH key
50
49
- GitHub repository
51
50
- GitHub repository branch
51
+
- SSH key (for a private GitHub repository)
52
52
- Webhook (optional)
53
53
54
-
#### Attach an SSH key to GitHub <aname="linkSSHKey"></a>
55
-
56
-
> [!primary]
57
-
>
58
-
> Generating an SSH key is a crucial step, as it establishes a secure and encrypted connection between your website’s directory and the GitHub repository. This key ensures that data transfers and code changes are done in a secure and authenticated manner, preventing unauthorised access and ensuring code integrity.
59
-
>
60
-
61
-
Copy and save the SSH key to your GitHub account. This way, you can establish a secure connection without having to enter a password each time you perform a Git operation.
62
-
63
-
- Log in to your GitHub account.
64
-
- Click on your profile picture in the top right-hand corner, then on `Settings`{.action}.
65
-
- On the new page, click `SSH and GPG keys`{.action} in the left-hand column.
66
-
- Select `New SSH key`{.action} or `Add SSH key`{.action}.
67
-
68
-
The form for adding a new SSH key will open:
69
-
70
-
-**Title** : Add a description for your SSH key. For example, you can name this key “OVHcloud”.
71
-
-**Type of key**: Leave the default value `authentication key`{.action}
72
-
-**Key**: Paste your SSH key.
73
-
74
-
To confirm the information, click `Add SSH key`{.action}. If prompted, confirm access to your account in GitHub.
75
-
76
54
#### Set GitHub repository
77
55
78
-
Return to the Git association form in the OVHcloud Control Panel. You must enter the address of your GitHub repository. If you don't have a GitHub repository for your project yet, create one.
56
+
Enter the address of your GitHub repository. If you don't have a GitHub repository for your project yet, create one.
79
57
80
58
To create a new repository:
81
59
@@ -92,7 +70,12 @@ Define a name for your deposit and fill in the requested information.
92
70
93
71
Finally, click `Create Repository`{.action}.
94
72
95
-
Copy the address of your GitHub repository. It must be of the form `https://github.com/<username>/<repository_name.git>`. Return to the Git association form and paste the address of your GitHub repository into the `Deposit`{.action} field. If the address format is not correct, the following error message appears:
73
+
Copy the address of your GitHub repository. It must be of the form:
74
+
75
+
-`https://github.com/<username>/<repository_name.git>` for a public repository.
76
+
-`[email protected]:<username>/<repository_name.git>` for a private repository.
77
+
78
+
Return to the Git association form and paste the address of your GitHub repository into the `Deposit`{.action} field. If the address format is not correct, the following error message appears:
@@ -107,6 +90,33 @@ Now define the branch of your GitHub repository. The default branch is `main`, b
107
90
108
91
Go back to the Git association form in the OVHcloud Control Panel, and enter the name of the new branch you have just created.
109
92
93
+
#### Attach an SSH key to GitHub (only for private GitHub repositories) <aname="linkSSHKey"></a>
94
+
95
+
> [!primary]
96
+
>
97
+
> Generating an SSH key is a crucial step, as it establishes a secure and encrypted connection between your website’s directory and the GitHub repository. This key ensures that data transfers and code changes are done in a secure and authenticated manner, preventing unauthorized access and ensuring code integrity.
98
+
99
+
> [!primary]
100
+
>
101
+
> **Why is the SSH key required only for a private deposit?**
102
+
>
103
+
> When your GitHub repository is public, files can be retrieved without authentication, which means Git can clone and update code without the need for an SSH key. However, if your repository is private, GitHub requires authentication to access it. The SSH key can then be used to establish this secure connection and guarantee that only authorized users can interact with the repository.
104
+
105
+
Copy and save the SSH key to your GitHub account. This way, you can establish a secure connection without having to enter a password each time you perform a Git operation.
106
+
107
+
- Log in to your GitHub account.
108
+
- Click on your profile picture in the top right-hand corner, then on `Settings`{.action}.
109
+
- On the new page, click `SSH and GPG keys`{.action} in the left-hand column.
110
+
- Select `New SSH key`{.action} or `Add SSH key`{.action}.
111
+
112
+
The form for adding a new SSH key will open:
113
+
114
+
-**Title** : add a description for your SSH key. For example, you can name this key “OVHcloud”.
115
+
-**Type of key**: leave the default value `authentication key`
116
+
-**Key**: Paste your SSH key.
117
+
118
+
To confirm the information, click `Add SSH key`{.action}. If prompted, confirm access to your account in GitHub.
119
+
110
120
#### Configure automatic deployment
111
121
112
122
At the bottom of the Git association form, a `Configuring automatic deployment`{.action} section will appear, along with the webhook URL. By configuring a webhook, your GitHub repository can automatically notify your OVHcloud web hosting plan of events that occur on the GitHub repository (new deployment, changes in code, etc.). This feature is especially useful if you work as a group on the same project and want to stay up to date with all changes in the GitHub repository. To learn more, learn how to [configure a webhook on GitHub](#configureWebhook).
Copy file name to clipboardExpand all lines: pages/web_cloud/web_hosting/git_integration_webhosting/guide.en-au.md
+37-27
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Configuring and using Git with an OVHcloud web hosting plan"
3
3
excerpt: "Find out how to configure and use Git with your web hosting plan in the OVHcloud Control Panel"
4
-
updated: 2024-09-12
4
+
updated: 2025-01-30
5
5
---
6
6
7
7
## Objective
@@ -46,36 +46,14 @@ Log in to your [OVHcloud Control Panel](/links/manager) and perform the followin
46
46
47
47
The Git association form is displayed. There are several elements that need to be configured:
48
48
49
-
- SSH key
50
49
- GitHub repository
51
50
- GitHub repository branch
51
+
- SSH key (for a private GitHub repository)
52
52
- Webhook (optional)
53
53
54
-
#### Attach an SSH key to GitHub <aname="linkSSHKey"></a>
55
-
56
-
> [!primary]
57
-
>
58
-
> Generating an SSH key is a crucial step, as it establishes a secure and encrypted connection between your website’s directory and the GitHub repository. This key ensures that data transfers and code changes are done in a secure and authenticated manner, preventing unauthorised access and ensuring code integrity.
59
-
>
60
-
61
-
Copy and save the SSH key to your GitHub account. This way, you can establish a secure connection without having to enter a password each time you perform a Git operation.
62
-
63
-
- Log in to your GitHub account.
64
-
- Click on your profile picture in the top right-hand corner, then on `Settings`{.action}.
65
-
- On the new page, click `SSH and GPG keys`{.action} in the left-hand column.
66
-
- Select `New SSH key`{.action} or `Add SSH key`{.action}.
67
-
68
-
The form for adding a new SSH key will open:
69
-
70
-
-**Title** : Add a description for your SSH key. For example, you can name this key “OVHcloud”.
71
-
-**Type of key**: Leave the default value `authentication key`{.action}
72
-
-**Key**: Paste your SSH key.
73
-
74
-
To confirm the information, click `Add SSH key`{.action}. If prompted, confirm access to your account in GitHub.
75
-
76
54
#### Set GitHub repository
77
55
78
-
Return to the Git association form in the OVHcloud Control Panel. You must enter the address of your GitHub repository. If you don't have a GitHub repository for your project yet, create one.
56
+
Enter the address of your GitHub repository. If you don't have a GitHub repository for your project yet, create one.
79
57
80
58
To create a new repository:
81
59
@@ -92,7 +70,12 @@ Define a name for your deposit and fill in the requested information.
92
70
93
71
Finally, click `Create Repository`{.action}.
94
72
95
-
Copy the address of your GitHub repository. It must be of the form `https://github.com/<username>/<repository_name.git>`. Return to the Git association form and paste the address of your GitHub repository into the `Deposit`{.action} field. If the address format is not correct, the following error message appears:
73
+
Copy the address of your GitHub repository. It must be of the form:
74
+
75
+
-`https://github.com/<username>/<repository_name.git>` for a public repository.
76
+
-`[email protected]:<username>/<repository_name.git>` for a private repository.
77
+
78
+
Return to the Git association form and paste the address of your GitHub repository into the `Deposit`{.action} field. If the address format is not correct, the following error message appears:
@@ -107,6 +90,33 @@ Now define the branch of your GitHub repository. The default branch is `main`, b
107
90
108
91
Go back to the Git association form in the OVHcloud Control Panel, and enter the name of the new branch you have just created.
109
92
93
+
#### Attach an SSH key to GitHub (only for private GitHub repositories) <aname="linkSSHKey"></a>
94
+
95
+
> [!primary]
96
+
>
97
+
> Generating an SSH key is a crucial step, as it establishes a secure and encrypted connection between your website’s directory and the GitHub repository. This key ensures that data transfers and code changes are done in a secure and authenticated manner, preventing unauthorized access and ensuring code integrity.
98
+
99
+
> [!primary]
100
+
>
101
+
> **Why is the SSH key required only for a private deposit?**
102
+
>
103
+
> When your GitHub repository is public, files can be retrieved without authentication, which means Git can clone and update code without the need for an SSH key. However, if your repository is private, GitHub requires authentication to access it. The SSH key can then be used to establish this secure connection and guarantee that only authorized users can interact with the repository.
104
+
105
+
Copy and save the SSH key to your GitHub account. This way, you can establish a secure connection without having to enter a password each time you perform a Git operation.
106
+
107
+
- Log in to your GitHub account.
108
+
- Click on your profile picture in the top right-hand corner, then on `Settings`{.action}.
109
+
- On the new page, click `SSH and GPG keys`{.action} in the left-hand column.
110
+
- Select `New SSH key`{.action} or `Add SSH key`{.action}.
111
+
112
+
The form for adding a new SSH key will open:
113
+
114
+
-**Title** : add a description for your SSH key. For example, you can name this key “OVHcloud”.
115
+
-**Type of key**: leave the default value `authentication key`
116
+
-**Key**: Paste your SSH key.
117
+
118
+
To confirm the information, click `Add SSH key`{.action}. If prompted, confirm access to your account in GitHub.
119
+
110
120
#### Configure automatic deployment
111
121
112
122
At the bottom of the Git association form, a `Configuring automatic deployment`{.action} section will appear, along with the webhook URL. By configuring a webhook, your GitHub repository can automatically notify your OVHcloud web hosting plan of events that occur on the GitHub repository (new deployment, changes in code, etc.). This feature is especially useful if you work as a group on the same project and want to stay up to date with all changes in the GitHub repository. To learn more, learn how to [configure a webhook on GitHub](#configureWebhook).
Copy file name to clipboardExpand all lines: pages/web_cloud/web_hosting/git_integration_webhosting/guide.en-ca.md
+37-27
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Configuring and using Git with an OVHcloud web hosting plan"
3
3
excerpt: "Find out how to configure and use Git with your web hosting plan in the OVHcloud Control Panel"
4
-
updated: 2024-09-12
4
+
updated: 2025-01-30
5
5
---
6
6
7
7
## Objective
@@ -46,36 +46,14 @@ Log in to your [OVHcloud Control Panel](/links/manager) and perform the followin
46
46
47
47
The Git association form is displayed. There are several elements that need to be configured:
48
48
49
-
- SSH key
50
49
- GitHub repository
51
50
- GitHub repository branch
51
+
- SSH key (for a private GitHub repository)
52
52
- Webhook (optional)
53
53
54
-
#### Attach an SSH key to GitHub <aname="linkSSHKey"></a>
55
-
56
-
> [!primary]
57
-
>
58
-
> Generating an SSH key is a crucial step, as it establishes a secure and encrypted connection between your website’s directory and the GitHub repository. This key ensures that data transfers and code changes are done in a secure and authenticated manner, preventing unauthorised access and ensuring code integrity.
59
-
>
60
-
61
-
Copy and save the SSH key to your GitHub account. This way, you can establish a secure connection without having to enter a password each time you perform a Git operation.
62
-
63
-
- Log in to your GitHub account.
64
-
- Click on your profile picture in the top right-hand corner, then on `Settings`{.action}.
65
-
- On the new page, click `SSH and GPG keys`{.action} in the left-hand column.
66
-
- Select `New SSH key`{.action} or `Add SSH key`{.action}.
67
-
68
-
The form for adding a new SSH key will open:
69
-
70
-
-**Title** : Add a description for your SSH key. For example, you can name this key “OVHcloud”.
71
-
-**Type of key**: Leave the default value `authentication key`{.action}
72
-
-**Key**: Paste your SSH key.
73
-
74
-
To confirm the information, click `Add SSH key`{.action}. If prompted, confirm access to your account in GitHub.
75
-
76
54
#### Set GitHub repository
77
55
78
-
Return to the Git association form in the OVHcloud Control Panel. You must enter the address of your GitHub repository. If you don't have a GitHub repository for your project yet, create one.
56
+
Enter the address of your GitHub repository. If you don't have a GitHub repository for your project yet, create one.
79
57
80
58
To create a new repository:
81
59
@@ -92,7 +70,12 @@ Define a name for your deposit and fill in the requested information.
92
70
93
71
Finally, click `Create Repository`{.action}.
94
72
95
-
Copy the address of your GitHub repository. It must be of the form `https://github.com/<username>/<repository_name.git>`. Return to the Git association form and paste the address of your GitHub repository into the `Deposit`{.action} field. If the address format is not correct, the following error message appears:
73
+
Copy the address of your GitHub repository. It must be of the form:
74
+
75
+
-`https://github.com/<username>/<repository_name.git>` for a public repository.
76
+
-`[email protected]:<username>/<repository_name.git>` for a private repository.
77
+
78
+
Return to the Git association form and paste the address of your GitHub repository into the `Deposit`{.action} field. If the address format is not correct, the following error message appears:
@@ -107,6 +90,33 @@ Now define the branch of your GitHub repository. The default branch is `main`, b
107
90
108
91
Go back to the Git association form in the OVHcloud Control Panel, and enter the name of the new branch you have just created.
109
92
93
+
#### Attach an SSH key to GitHub (only for private GitHub repositories) <aname="linkSSHKey"></a>
94
+
95
+
> [!primary]
96
+
>
97
+
> Generating an SSH key is a crucial step, as it establishes a secure and encrypted connection between your website’s directory and the GitHub repository. This key ensures that data transfers and code changes are done in a secure and authenticated manner, preventing unauthorized access and ensuring code integrity.
98
+
99
+
> [!primary]
100
+
>
101
+
> **Why is the SSH key required only for a private deposit?**
102
+
>
103
+
> When your GitHub repository is public, files can be retrieved without authentication, which means Git can clone and update code without the need for an SSH key. However, if your repository is private, GitHub requires authentication to access it. The SSH key can then be used to establish this secure connection and guarantee that only authorized users can interact with the repository.
104
+
105
+
Copy and save the SSH key to your GitHub account. This way, you can establish a secure connection without having to enter a password each time you perform a Git operation.
106
+
107
+
- Log in to your GitHub account.
108
+
- Click on your profile picture in the top right-hand corner, then on `Settings`{.action}.
109
+
- On the new page, click `SSH and GPG keys`{.action} in the left-hand column.
110
+
- Select `New SSH key`{.action} or `Add SSH key`{.action}.
111
+
112
+
The form for adding a new SSH key will open:
113
+
114
+
-**Title** : add a description for your SSH key. For example, you can name this key “OVHcloud”.
115
+
-**Type of key**: leave the default value `authentication key`
116
+
-**Key**: Paste your SSH key.
117
+
118
+
To confirm the information, click `Add SSH key`{.action}. If prompted, confirm access to your account in GitHub.
119
+
110
120
#### Configure automatic deployment
111
121
112
122
At the bottom of the Git association form, a `Configuring automatic deployment`{.action} section will appear, along with the webhook URL. By configuring a webhook, your GitHub repository can automatically notify your OVHcloud web hosting plan of events that occur on the GitHub repository (new deployment, changes in code, etc.). This feature is especially useful if you work as a group on the same project and want to stay up to date with all changes in the GitHub repository. To learn more, learn how to [configure a webhook on GitHub](#configureWebhook).
0 commit comments