mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 16:21:41 +00:00
fix: no cambiar el hostname si se lo asignó manualmente
(cherry picked from commit 48defa9058
)
This commit is contained in:
parent
a7662d005c
commit
053ec5674f
1 changed files with 2 additions and 0 deletions
|
@ -128,6 +128,8 @@ class DeployDistributedPress < Deploy
|
||||||
#
|
#
|
||||||
# @return [nil]
|
# @return [nil]
|
||||||
def create_remote_site!
|
def create_remote_site!
|
||||||
|
self.hostname ||= site.hostname
|
||||||
|
|
||||||
created_site = site_client.create(create_site)
|
created_site = site_client.create(create_site)
|
||||||
|
|
||||||
self.remote_site_id = created_site[:id]
|
self.remote_site_id = created_site[:id]
|
||||||
|
|
Loading…
Reference in a new issue