whitespace
parent
dbaef1ead7
commit
ae68d40616
|
@ -115,7 +115,6 @@ Deploy your site to more than one configuration using environment variables.
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
# config.rb
|
# config.rb
|
||||||
|
|
||||||
case ENV['TARGET'].to_s.downcase
|
case ENV['TARGET'].to_s.downcase
|
||||||
when 'production'
|
when 'production'
|
||||||
activate :deploy do |deploy|
|
activate :deploy do |deploy|
|
||||||
|
@ -134,7 +133,6 @@ end
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
# Rakefile
|
# Rakefile
|
||||||
|
|
||||||
namespace :deploy do
|
namespace :deploy do
|
||||||
def deploy(env)
|
def deploy(env)
|
||||||
puts "Deploying to #{env}"
|
puts "Deploying to #{env}"
|
||||||
|
|
Loading…
Reference in New Issue