Skip to main content

Can't deploy git repo with .cpanel.yml

Comments

3 comments

  • kodeslogic
    Just to confirm you are using the correct cPanel username in the DEPLOYPATH
    0
  • chadreitsma
    Just to confirm you are using the correct cPanel username in the DEPLOYPATH

    Yes, I just left it out for security reasons, but thank-you for confirming. We've actually decided against this deployment method because this whole process has been a massive pain in the ass. We were also running into merge conflicts after pushing to our repo then doing a manual update (That should never ever happen because there aren't merge conflicts in the repo). To be honest cPanel really needs to step up their game here. Plesk is lightyears ahead of you guys in this department. With Plesk when you add a repo it automatically generates an SSH key, and displays it for you, AND it provides a proper webhook URL so you can add that in the repo settings. It just works. I hope they fix this soon.
    0
  • cPRex Jurassic Moderator
    I've passed this along to our development team that manages Git - thanks for the feedback, and I'm glad you found an alternative that works for you.
    0

Please sign in to leave a comment.