• 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 Git deploy from path supported?

Ramiro Araujo

New Pleskian
Hi
I usually version my web projects with a "src" or "dist" folder where the end files that should be deployed are. I can't seem to find if I can specify that in the Git extension. Basically, I don't want to deploy the full repo, only a subdirectory. Is this supported?

Thanks!
 
Hey just FYI - I figured out a simple (very simple ;) solution:
1. change the repo deploy location to some different path - i am using /repo-clone
2. add shell commands to execute after deployment, something like:

```sh
rm -rf /httpddocs/wp-content/themes/mysupertheme
cp -r /repo-clone/some-path /httpddocs/wp-content/themes/mysupertheme
```

Good luck,
Greg
 
Back
Top