Deploy from git repo subfolder
Right now you can only deploy a full git repo. Users should be allowed to deploy from any folder withing a repo.
For example an app could have a 'src' folder with code and a 'dist' folder with production code. I want to be able to deploy the 'dist' folder only
-
Arnout Pullen commented
+1 This would be very helpful so we can switch our repo to a mono repository
-
Nine Sixty
commented
This would be so beneficial for the workflow of all of our websites. It's common practice for projects at our agency (and other agencies that I've worked at) to include a source or `src` directory outside of the webroot that stores any source files such as .scss or .js modules. These files are processed by a task runner such as gulp and the bundled assets are stored in the destination folder or webroot.
We'd love to be able to use git deploy functionality but we can't at the moment due to the fact that the root of our git repositories is not the equivalent of our web root.
This forces use to SFTP for deploys, which isn't great. Many more benefits to be had by Git deploy.