Deployment information not available for GIT repo

Olivia Mae

Registered
Feb 8, 2019
1
0
1
Cambridge, MA
cPanel Access Level
Website Owner
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!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello @Olivia Mae,

Do you have root access to this system? If so, can you open a support ticket so we can take a closer look at how everything is configured? You can post the ticket number here and we'll update this thread with the outcome. If you do not have root access to the system, can you report this to your web hosting provider? They can contact us directly if it's an issue they are unable to solve.

Thank you.
 

Maxime Lagresle

Registered
Jun 2, 2019
1
0
1
France
cPanel Access Level
Website Owner
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!

Hi Olivia,

I have the same issue as you and am also new to cPanel. Have you figured out how to fix this issue? If yes, could you please share how you did it? Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello @Maxime Lagresle,

As a website owner, can you report this to your web hosting provider and inform them to open a support ticket with us directly if they are unable to address the issue?

Thank you.