[Feature] Uploading of untracked files
tasuki opened this issue · 2 comments
tasuki commented
Use cases:
- generated .pdf file (through TeX, can't be done on production server)
- generated .css files, such as Sass (which you can't generate on production for lack of Ruby)
- other similar cases
Issues:
- The configs are target-specific, while the list of untracked files to upload would be same for development/staging/production (in my case, I only have development (my git checkout) and production (3rd party hosting accessible through ftp), so this doesn't affect me personally).
Please see my commit in my fork for a quick & dirty solution. Can you come up with something better?
pocketarc commented
Hi @tasuk, I've added this to git-deploy-php 2.0. Check out the Readme for instructions on how to use it. I've kept it target-specific, despite the fact that you mentioned that your untracked files would be the same regardless of the target. It just keeps things simple, at the cost of some repetition.
tasuki commented
@BrunoDeBarros, cool!
(I've meanwhile switched my hosting to a vps with ssh access, where I have actual git repos on the server and deploy using something very similar to Joe Maller's method)