How to add repositories with Git to Plesk

De Ikoula Wiki
Révision datée du 26 février 2020 à 15:20 par Icornea22f5f (discussion | contributions) (Page créée avec « === Accessing the Git extension within your Plesk platform === In order to add the Repository to your Plesk please click on "Git" option in the main dashboard of Plesk, c... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Jump to navigation Jump to search

Accessing the Git extension within your Plesk platform

In order to add the Repository to your Plesk please click on "Git" option in the main dashboard of Plesk, check photo from below. (red arrow & red rectangle)

Ikw-git-start.jpg


To add a Git Repository you have to choose between the two options available, "Remote Repository" / "Local Repository". In this example, I'm gonna choose the remote one using Github. (see photo attached below) Inside the "Remote Git Repository" bar, you must paste the link of your Github repository. To find the link of your Github repository, please check the photo from below. Also, before downloading the repository from Github, you must copy the SSH (the SSH key will be automatically generated after you paste the link of your Github repository inside the bar) and paste it within your own Github account, inside the SSH section. (see photo from below.

Ikw-git-add-repo-link1.jpg

Ikw-git-add-repo-link2.jpg

Ikw-git-copy-link.jpg

To add the SSH key, click on "New SSH Key" and paste the key inside the box.

Ikw-git-add-ssh.jpg

After the SSH key was added to your Github account, you can continue the process of adding the repository to your Plesk platform. The process depending on the size of your repository can take up from 3 seconds to a couple of minutes. When the repository was added, it should look like the one from the photo below.

Ikw-git-repo-added-plesk.jpg

If you've added updates to the repository on Github, you can "Pull" those updates to Plesk using the "Pull Updates" option that you have available within your main Plesk dashboard. (see photo attached)

Ikw-git-pull6.jpg