Unable to get .git to work on local environment

Hi all,

So I have a problem that I’ve been attempting to solve that I can’t seem to figure out and it’s driving me nuts. To make things easier, I will just explain everything in the steps below to make it as easy as possible.

  1. Git is all setup on the CyberPanel
  2. Webhooks are all setup
  3. Deployment keys are all setup

SSH into Server Directory:
root@cyberpanel-ubuntu-s-1vcpu-1gb-nyc3-01:/home/****/public_html

Git pull → make changes → Git push
Updates successfully push to repository and update the file into the ‘File manager’.

Unable to make changes to files because I can’t clone them down since their in a server directory.

All works great here ~


SSH into local directory:
smajlovs@US3FHIM0XQ86TJG: ~/Sites/****[master]$

Git pull → make changes → Git push
Updates successfully push up to the repository but I can’t get them to update within the ‘File Manager’ - It never fires the webhook to update it there.

File Manager doesn’t update here ~

What could I be doing wrong?

Thanks for the great explanation. But I still don’t understand few points.

If I put it in few words, do you mean that web hook is not getting fired, when you commit to your repo?