Rakefile quote path
This commit is contained in:
parent
37e48ce97b
commit
dd92cd812e
2
Rakefile
2
Rakefile
@ -18,7 +18,7 @@ task :deploy do
|
||||
exclude = "--exclude-from '#{File.expand_path('./rsync-exclude')}'"
|
||||
end
|
||||
puts "## Deploying website via Rsync"
|
||||
ok_failed system("rsync -avze 'ssh -p #{ssh_port}' #{exclude} #{"--delete" unless rsync_delete == false} #{public_dir}/ #{ssh_user}:#{document_root}")
|
||||
ok_failed system("rsync -avze 'ssh -p #{ssh_port}' #{exclude} #{"--delete" unless rsync_delete == false} \"#{public_dir}/\" \"#{ssh_user}:#{document_root}\"")
|
||||
end
|
||||
|
||||
desc "Generate website and deploy"
|
||||
|
Loading…
Reference in New Issue
Block a user