title: Issues with the format of .cpanel.yml file when trying to deploy cpanel git repository to directory.
body: <ul>
  <li>I am using a cpanel web administration system. </li>
  <li>With it i create a git repository.</li>
  <li>I am able to push my local code to that git repository.</li>
  </ul>
  
  <p>The problem arises when i attempt to deploy the code in the repository to a production directory on my server.</p>
  
  <p>According to <a href="https://documentation.cpanel.net/display/CKB/Guide+to+Git+-+Deployment" rel="noreferrer">cpanel documentation about deployment</a>, in order to deploy, a git repository must contain a <code>.cpanel.yml</code> file which is committed with the following example data:</p>
  
  <pre><code>---
  deployment:
    tasks:
      - export DEPLOYPATH=/home/user/public_html/
      - /bin/cp index.html $DEPLOYPATH
      - /bin/cp style.css $DEPLOYPATH
  </code></pre>
  
  <p>I have tried various different configurations of this file in order to be able to deploy but couldn't get it to work. I cannot find any more documentation or any further develop examples or sample files.</p>
  
  <p>The relevant structure of my linux server is thus:</p>
  
  <pre><code>home/&lt;username&gt;/
      - git/gitrepo/
          - all of the git files and folders
      - public_html/&lt;app_folder&gt;/
  </code></pre>
  
  <p>I would like to deploy all of the files and folders in the git repository into the <code>public_html/&lt;app_folder&gt;/</code> directory.</p>
  
  <p>I have tried the following different configurations:</p>
  
  <pre><code>---
  deployment:
        tasks:
          - export DEPLOYPATH=/home/&lt;username&gt;/public_html/&lt;app_folder&gt;
          - / $DEPLOYPATH
  
  ---
  deployment:
    tasks:
      - export DEPLOYPATH=/home/user/public_html/
      - /bin/cp  $DEPLOYPATH
  
  ---
  deployment:
    tasks:
      - export DEPLOYPATH=/home/user/public_html/
      - / index.html $DEPLOYPATH // Tried just one file to see if would work but it didn't.
  ---
  deployment:
    tasks:
      - export DEPLOYPATH=/home/user/public_html/
      - /bin/cp index.html $DEPLOYPATH // Tried just one file to see if would work but it didn't.
  </code></pre>