5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 16:41:42 +00:00

fix: no cambiar el hostname si se lo asignó manualmente

This commit is contained in:
Sutty 2024-03-06 15:30:50 +00:00
parent 37511ad3e5
commit 48defa9058

View file

@ -130,7 +130,7 @@ class DeployDistributedPress < Deploy
# #
# @return [nil] # @return [nil]
def create_remote_site! def create_remote_site!
self.hostname = site.hostname self.hostname ||= site.hostname
created_site = site_client.create(create_site) created_site = site_client.create(create_site)