I cannot see any repositories in the cPanel Git™ Version Control module, even though the files were successfully pulled from the remote and are visible in the file system.
I am trying to setup deployments via cPanel using cPanel's Git deployment system (see for example: Guide to Git - cPanel Knowledge Base - cPanel Documentation).
After I encountered errors cloning the remote repository from GitHub using SSH, I found that it is a GitHub problem that their system prefers an HTTPS connection rather than SSH:Error: Permission denied (publickey) - GitHub Help I connected this way, and it worked (e.g., I did not get the permission denied error) (see code)
But, apparently because I used HTTPS rather than SSH, I cannot use the visual interface in this screenshot: [Moderator Note: The remote image URL was removed. Please upload images as attachments directly to the thread]
So, my question is, how do I now get the repository to appear in the interface, so that I can use the visual interface, and NOT USE terminal, to manage deployments?
I would like the repository to appear in the cPanel Git™ Version Control module as in this screenshot:
https://blog.cpanel.com/wp-content/uploads/2018/06/image2018-3-23_9-48-58.png
I am trying to setup deployments via cPanel using cPanel's Git deployment system (see for example: Guide to Git - cPanel Knowledge Base - cPanel Documentation).
After I encountered errors cloning the remote repository from GitHub using SSH, I found that it is a GitHub problem that their system prefers an HTTPS connection rather than SSH:Error: Permission denied (publickey) - GitHub Help I connected this way, and it worked (e.g., I did not get the permission denied error) (see code)
But, apparently because I used HTTPS rather than SSH, I cannot use the visual interface in this screenshot: [Moderator Note: The remote image URL was removed. Please upload images as attachments directly to the thread]
So, my question is, how do I now get the repository to appear in the interface, so that I can use the visual interface, and NOT USE terminal, to manage deployments?
Code:
username@host ~]# ssh-add /home/username/.ssh/lwtogithub.tld
Enter passphrase for /home/username/.ssh/lwtogithub.tld: [username@host ~]# git clone https://github.com/username/forwardjump-genesis-child.git Cloning into 'forwardjump-genesis-child'... Username for 'https://github.com': username Password for 'https://[email protected]': remote: Enumerating objects: 762, done. remote: Counting objects: 100% (762/762), done. remote: Compressing objects: 100% (267/267), done. remote: Total 762 (delta 480), reused 758 (delta 479), pack-reused 0 Receiving objects: 100% (762/762), 771.86 KiB | 8.04 MiB/s, done. Resolving deltas: 100% (480/480), done. [username@host ~]#
https://blog.cpanel.com/wp-content/uploads/2018/06/image2018-3-23_9-48-58.png
Last edited by a moderator: