Unable to get .git to work on local environment — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberLoader

Unable to get .git to work on local environment

edited September 2019 in Web Server
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:
[email protected]:/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:
[email protected]: ~/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?

Comments

  • 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?
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion