I have a repository set up in cPanel's Git Version Control with Pull deployment. Now, due to the project guidelines having changed, I would need to change this to push deployment.
I tried simply adding a cpanel.yml file to my repository as well as creating a brand new one (following the documentation at Guide to Git - How to Set Up Deployment - cPanel Knowledge Base - cPanel Documentation).
In both cases, when I try to git push -u origin HEAD from my local project, I get the following:
ssh: connect to host [domain].com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
How can I fix this?
EDIT
Would I need to somehow login to the ssh in my push command? Perhaps with --push-option or --exec?
I tried simply adding a cpanel.yml file to my repository as well as creating a brand new one (following the documentation at Guide to Git - How to Set Up Deployment - cPanel Knowledge Base - cPanel Documentation).
In both cases, when I try to git push -u origin HEAD from my local project, I get the following:
ssh: connect to host [domain].com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
How can I fix this?
EDIT
Would I need to somehow login to the ssh in my push command? Perhaps with --push-option or --exec?
Last edited: