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

Merge pull request #418 from mikespokefire/v3

Fixes to generated config file and deploy directory
This commit is contained in:
Tom Clements 2013-03-15 06:04:55 -07:00
commit 72b854185b
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}