So I have a private Github that I've susscesfully setup SSH access connection between cPanel and GIT. However I'm having an issue where anytime I go to deploy head commit it just sits at "The deployment that you triggered on Feb 24, 2021 TIME is queued …"
Sometimes it seems to work, most of the time it just hangs. So I'm guessing something isn't setup correctly. So I suppose a few questions;
1) Is there a way to set cpanel to automatically pull the changes on GIT and pull down to the server? It seems that's suppose to be a function but I guess I'm missing how to set it up?
2) How do I view the logs of the git attempts in order to troubleshoot why its hanging
3) For some reason it's deploying to a subdirectory
The cpanel yml file is as follows;
Sometimes it seems to work, most of the time it just hangs. So I'm guessing something isn't setup correctly. So I suppose a few questions;
1) Is there a way to set cpanel to automatically pull the changes on GIT and pull down to the server? It seems that's suppose to be a function but I guess I'm missing how to set it up?
2) How do I view the logs of the git attempts in order to troubleshoot why its hanging
3) For some reason it's deploying to a subdirectory
The cpanel yml file is as follows;
# --- | |
# deployment: | |
# tasks: | |
# - export DEPLOYPATH=/home/CPANELUSER/public_html/ | |
# - /bin/cp -R /home/CPANELUSER/repositories/GITNAME $DEPLOYPATH |
Last edited by a moderator: