• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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