oops
This commit is contained in:
parent
4a58ff146a
commit
c19f049a63
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ module Middleman
|
||||||
|
|
||||||
# These only exists when the config.rb sets them!
|
# These only exists when the config.rb sets them!
|
||||||
if (!host || !user || !path)
|
if (!host || !user || !path)
|
||||||
raise Thor::Error.new "You need to activate the deploy extension in config.rb "
|
raise Thor::Error.new "You need to activate the deploy extension in config.rb"
|
||||||
end
|
end
|
||||||
|
|
||||||
command = "rsync -avze '" + "ssh -p #{port}" + "' build/ #{user}@#{host}:#{path}"
|
command = "rsync -avze '" + "ssh -p #{port}" + "' build/ #{user}@#{host}:#{path}"
|
||||||
|
@ -45,7 +45,7 @@ module Middleman
|
||||||
end
|
end
|
||||||
|
|
||||||
if clean
|
if clean
|
||||||
command += "--delete"
|
command += " --delete"
|
||||||
end
|
end
|
||||||
|
|
||||||
run command
|
run command
|
||||||
|
|
Loading…
Reference in a new issue