Hi everyone,
I'm new to cPanel. I maintain my website code on GitHub, and I've followed the steps outlined in the cPanel documentation to implement manual deployment. I've created a .cpanel.yml file which resides in the top directory of my remote repository and adheres to the requisite formatting; an excerpt is shown below:
---
deployment:
tasks:
- export DEPLOYPATH=/home/<myusername>/public_html/
- /bin/cp website/index.html $DEPLOYPATH
- /bin/cp website/css/carousel.css $DEPLOYPATH
My workflow is as follows: I make changes on my local machine, push them to my remote Git repository, use the cPanel interface to pull them, and then press "Deploy HEAD Commit." Everything seems to work (it even says "deployment complete"), except on the sidebar, under "Last Deployment Information," all the fields say "not available." Furthermore, there are no changes to my File Manager or website.
Is this a problem with my .yml file, or have I perhaps not configured the various repositories correctly? Any help would be greatly appreciated.
Thank you!
I'm new to cPanel. I maintain my website code on GitHub, and I've followed the steps outlined in the cPanel documentation to implement manual deployment. I've created a .cpanel.yml file which resides in the top directory of my remote repository and adheres to the requisite formatting; an excerpt is shown below:
---
deployment:
tasks:
- export DEPLOYPATH=/home/<myusername>/public_html/
- /bin/cp website/index.html $DEPLOYPATH
- /bin/cp website/css/carousel.css $DEPLOYPATH
My workflow is as follows: I make changes on my local machine, push them to my remote Git repository, use the cPanel interface to pull them, and then press "Deploy HEAD Commit." Everything seems to work (it even says "deployment complete"), except on the sidebar, under "Last Deployment Information," all the fields say "not available." Furthermore, there are no changes to my File Manager or website.
Is this a problem with my .yml file, or have I perhaps not configured the various repositories correctly? Any help would be greatly appreciated.
Thank you!