I am new in Git. I use bitbucket. I was working localhost everything fine. Now, I want to upload the project to server. Thus, I would like to use Git Control that cPanel offers. my working root folder is
/home/user/public_html/orders
I have entered to this path via SSH and paste the clone link I took from Bitbucket. Everything fine. I saw the commits and so on.. Now I did some changes/adds/edits to localhost project, so I have more tha 10 new commits. If I try to "Update from remote" via cPanel, nothing change to my cpanel commits. There is a message that says:
"A valid .cpanel.yml file exists. For more information, read our documentation.
No uncommitted changes exist on the checked-out branch"
So I have created and uploaded many .cpanel.yml files, in order to make this work! For example:
---
deployment:
tasks:
- export DEPLOYPATH=/home/user/public_html/orders
- /bin/cp -R * $DEPLOYPATH
---
deployment:
tasks:
- export DEPLOYPATH=/home/user/public_html
- /bin/cp -r /home/user/orders/* $DEPLOYPATH
But still no luck.. I found many questions here, but couldn't find a solution The .cpanel.yml file is inside my root path folder like I mention above: /home/user/public_html/orders/.cpanel.yml
Any help?