• The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Local Git Repository Help

selliott

New Pleskian
I've developed a C# script to perform an auto-install (using Api-Rpc) of a website application using a git local repository to pull the files from during installation. I can successfully pull the files to each newly generated website and perform the full installation, but I'm not sure how to setup each new site to automatically pull from the main git repository when a new commit is made to it? Is this possible? I want to use one repository as the master, which they are already linked to after the setup anyway, then each new website should automatically update/pull whenever a commit is made to that main repository.

I initially started to go the route of pulling from a private GitHub repository, which works if I manually get and add the hook for each website to the GitHub account and generate the SSH key, but this wasn't ideal since I want it all to occur automatically. I thought maybe using a local git repository within Plesk would be the easiest way?
 
Back
Top