My master branch layout is like this:
/ <– top level
/client <– desktop client source files
/server <– Rails app
What I’d like to do is only pull down the /server directory in my deploy.rb, but I can’t seem to find any way to do that. The /client directory is huge, so setting up a hook to copy /server to / won’t work very well, it needs to only pull down the Rails app.
Without any dirty forking action but even dirtier !
In my config/deploy.rb :
Then I added this new strategy to my Capfile :