Hi,
docs.cpanel.net
I tried to deploy HEAD commit by creating .cpanel.yml file.
I have a problem related to USERNAME.
how can I get "example" as a variable like $USERNAME. Do cpanel pass any value to .cpanel.yml file or is it sensitive to pass variable.
Regards,
Guide to Git™ - Deployment | cPanel & WHM Documentation
The Git™ Version Control feature allows you to deploy your cPanel-managed repositories. Generally, deployment sends finished code into production. You can use different configurations to automatically (push deployment) or manually (pull deployment) deploy changes.

I have a problem related to USERNAME.
Code:
---
deployment:
tasks:
- export DEPLOYPATH=/home/example/public_html/
- /bin/cp -R images $DEPLOYPATH
Regards,