From 4ea2169c68c0734201872174f000bba599ac2394 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 7 Aug 2021 17:40:13 -0300 Subject: [PATCH] Poder acceder directo al archivo zip --- app/models/deploy_zip.rb | 4 ++++ 1 file changed, 4 insertions(+) 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!