rmagnum2002
rmagnum2002

Reputation: 11421

deploy with Capistrano takes too long at each modification

So the problem is that when I modify a file, I have to run again the cap deploy command to push the changes to the server, but it seems to me that each deploy is running all over again, I mean all the files from app are pushed to server. Is there any configurations in deploy.rb to tell capistrano to deploy only the modified ones. I am using a repository on github and what is the point of git gui if it pushes all the app all over again. Thanks.

Upvotes: 3

Views: 861

Answers (1)

jdl
jdl

Reputation: 17790

set :deploy_via, :remote_cache

Reasonably decent docs are here.

Upvotes: 5

Related Questions