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:
commit
72b854185b
2 changed files with 3 additions and 2 deletions
|
@ -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')
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
stage :<%= stage %>
|
||||
set :stage, :<%= stage %>
|
||||
|
||||
role :app, %w{example.com}
|
||||
role :web, %w{example.com}
|
||||
role :db, %w{example.com}
|
||||
|
|
Loading…
Add table
Reference in a new issue