modify deploy.rb for sphinx