lib/negroku/templates/deploy.rb.erb in negroku-0.0.1 vs lib/negroku/templates/deploy.rb.erb in negroku-0.0.2
- old
+ new
@@ -6,13 +6,16 @@
set :user, "deploy"
set :deploy_to, "/home/#{user}/applications/#{application}"
# Repository (if any) configuration.
set :deploy_via, :remote_cache
-set :repository, "<%= data[:repo] %>/#{application}.git"
+set :repository, "<%= data[:repo] %>"
set :branch, "production" # Optional, defaults to master
# set :remote, "negroku" # Optional, defaults to origin
# set :git_enable_submodules, 1
+
+# Web server configuration
+set :domains, "<%= data[:domains] %>"
# Use the bundler capistrano task to deploy to the shared folder
require "bundler/capistrano"
set :bundle_flags, "--deployment --binstubs"
\ No newline at end of file