1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Fixes to generated config file and deploy directory

This commit is contained in:
Michael Smith 2013-03-14 11:38:11 +00:00 committed by Michael Smith
parent cfdca4ef08
commit 5da6048c91
2 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,7 @@ task :install do
stage_rb = File.expand_path("../../templates/stage.rb.erb", __FILE__)
capfile = File.expand_path("../../templates/Capfile", __FILE__)
mkdir_p config_dir
mkdir_p deploy_dir
template = File.read(deploy_rb)
file = File.join(config_dir, 'deploy.rb')

View file

@ -1,4 +1,5 @@
stage :<%= stage %>
set :stage, :<%= stage %>
role :app, %w{example.com}
role :web, %w{example.com}
role :db, %w{example.com}