git-deploy-php icon indicating copy to clipboard operation
git-deploy-php copied to clipboard

Deploy only subdirectory, not git root

Open plashenkov opened this issue 8 years ago • 2 comments

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!

plashenkov avatar Jan 22 '17 12:01 plashenkov

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.

pocketarc avatar Jan 22 '17 12:01 pocketarc

+1

louisluu avatar Apr 19 '18 23:04 louisluu