pocketarc / git-deploy-php

git-deploy-php is a simple php-based tool that deploys your Git repositories to FTP/SFTP servers, and keeps them updated automatically.
http://brunodebarros.github.io/git-deploy-php
292 stars 45 forks source link

Deploy only subdirectory, not git root #76

Open plashenkov opened 7 years ago

plashenkov commented 7 years ago

Hi!

Is there a way to deploy only specific subdirectory of git repository, not git root? For example, a complete project to be deployed resides in a directory inside git repository (outside of this dir there are some service files: README, LICENSE, composer.json, .editorconfig, etc.)

For example, in git-ftp there is a --syncroot option to specify local root to be deployed.

Is there some sort of similar option for git-deploy-php?

Thank you!

pocketarc commented 7 years ago

No, I'm afraid there isn't such a thing at the moment; that's something that I'd like to add though. Shouldn't be too difficult to add it in, but I haven't had much time lately, I'm afraid.

louisluu commented 6 years ago

+1