title: cPanel won't deploy even though .cpanel.yml file is present
body: <p>My repo is managed with cPanel on a webhoster. According to various documentations, you need a .cpanel.yml file in the top directory of your repo, to deploy files into a production directory. It doesn't work though.</p>
  
  <p>Here are the contents of .cpanel.yml (which btw. is in the top directory of the repo):</p>
  
  <pre><code>---
  deployment:
        tasks:
          - export DEPLOYPATH=/home/glades/public_html
          - /bin/cp -r * $DEPLOYPATH
  </code></pre>
  
  <p>Whereas "glades" is my username. As far as I know it should deploy all files from the repo into the production directory, which is public_html in this case. But when I have a look at the public_html folder with my file manager, none of the files are to be found.</p>
  
  <p><a href="https://i.stack.imgur.com/S1xDR.png" rel="nofollow noreferrer">The file manager shows public_html folder like this</a></p>
  
  <p>There should be both, a README.md and a index.php - file. But the index.php is not being altered (it's an old one) and the README.md doesn't even exist.</p>
  
  <p>Now when I go into the "Pull or Deploy" Tab of cPanels "Git Version Control", there's <a href="https://i.stack.imgur.com/PFLAk.png" rel="nofollow noreferrer">this error message</a>. But I can assure you that there is a valid .cpanel.yml file (because when i delete the local repo and clone it again there's a .cpanel.yml file that is being downloaded in the main directory). Also, the checked-out branch is master and I'm the only one working on it right now, so it should be current.
  I don't quite get behind it. Does someone see where I go wrong? Appreciated!</p>