diff --git a/app/models/deploy_zip.rb b/app/models/deploy_zip.rb index c25352b9..d09c7552 100644 --- a/app/models/deploy_zip.rb +++ b/app/models/deploy_zip.rb @@ -63,6 +63,10 @@ class DeployZip < Deploy "#{site.deploy_local.hostname}.zip" end + def path + File.join(destination, hostname) + end + private def remove_destination!