Updated deploy.rb template to use shared_path

Use `shared_path` in case the user configures it.