To connect local repo with my server site I use "Manual or pull deployment": https://docs.cpanel.net/knowledge-base/web-services/guide-to-git-deployment/
It worked super smooth for the first time. But then when I continued doing commits and pulling them from github to my site the "Deploy Head commit" button stopped working...
The reason which is written is:
The system cannot deploy
For deployment, ensure that your repository meets the following requirements:
1. A valid .cpanel.yml file exists. For more information, read our documentation.
2. No uncommitted changes exist on the checked-out branch.
As for the .cpanel.yml file, it is definitely ok because it worked perfectly fine for the first time and because all the instructions in it were made exactly as were expected.
But I do not understand regarding "uncommitted changes". I do not do any changes on my checked-out-branch I only do pull into it from github as per instruction. So what is it about?
How can I get deployment to work again?
It worked super smooth for the first time. But then when I continued doing commits and pulling them from github to my site the "Deploy Head commit" button stopped working...
The reason which is written is:
The system cannot deploy
For deployment, ensure that your repository meets the following requirements:
1. A valid .cpanel.yml file exists. For more information, read our documentation.
2. No uncommitted changes exist on the checked-out branch.
As for the .cpanel.yml file, it is definitely ok because it worked perfectly fine for the first time and because all the instructions in it were made exactly as were expected.
But I do not understand regarding "uncommitted changes". I do not do any changes on my checked-out-branch I only do pull into it from github as per instruction. So what is it about?
How can I get deployment to work again?