What changes do I need to make to the deploy.rb
file below to make it deploy my app from a local git repo? If I can\'t deploy from a local repo, can I have capistra
I used a combination of @Ariejan and @HungYuHei answers which worked for me.
set :deploy_via, :copy
set :use_sudo, false
set :scm, "git"
set :repository, "."
set :local_repository, "."
set :branch, "master"
If you use local copy (and don't have the project on Github), then it is also wise to disable :check_revision
task in your deploy.rb which checks whether remote is in sync with local git.