Skip to main content

Deployment information not available for GIT repo

Comments

3 comments

  • cPanelMichael
    Hello @Olivia Mae, Do you have root access to this system? If so, can you open a
    0
  • Maxime Lagresle
    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//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!
    0
  • cPanelMichael
    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.
    0

Please sign in to leave a comment.