• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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