mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-20 15:36:22 +00:00
fix: no sincronizar los sitios de testeo
This commit is contained in:
parent
5514915404
commit
07145aad79
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
|
|||
|
||||
add_role temporal: false, rol: 'usuarie'
|
||||
site.deploys.build type: 'DeployLocal'
|
||||
sync_nodes
|
||||
# Los sitios de testing no se sincronizan
|
||||
sync_nodes unless site.name.end_with? '.testing'
|
||||
|
||||
I18n.with_locale(usuarie.lang.to_sym || I18n.default_locale) do
|
||||
# No se puede llamar a site.config antes de save porque el sitio
|
||||
|
|
Loading…
Reference in a new issue