diff --git a/app/models/deploy_zip.rb b/app/models/deploy_zip.rb index c25352b..d09c755 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!