5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-05-19 08:30:49 +00:00

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

(cherry picked from commit 48defa9058)
This commit is contained in:
Sutty 2024-03-06 15:30:50 +00:00 committed by f
parent a7662d005c
commit 053ec5674f
No known key found for this signature in database

View file

@ -128,6 +128,8 @@ class DeployDistributedPress < Deploy
#
# @return [nil]
def create_remote_site!
self.hostname ||= site.hostname
created_site = site_client.create(create_site)
self.remote_site_id = created_site[:id]