Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Deployment information not available for GIT repo

Discussion in 'General Discussion' started by Olivia Mae, Feb 8, 2019.

  1. Olivia Mae

    Olivia Mae Registered

    Feb 8, 2019
    Likes Received:
    Trophy Points:
    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:

    - 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!
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice