serializar con json porque yaml es mas verborragico
This commit is contained in:
parent
11cf2cb08b
commit
7570abaf1a
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
# Alojamiento local, solo genera el sitio, con lo que no necesita hacer
|
||||
# nada más
|
||||
class DeployLocal < Deploy
|
||||
store :values, accessors: %i[fqdn destination], coder: YAML
|
||||
store :values, accessors: %i[fqdn destination], coder: JSON
|
||||
|
||||
before_create :fqdn!, :destination!
|
||||
before_destroy :remove_destination!
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
# TODO: Firmar con minisign
|
||||
class DeployZip < Deploy
|
||||
store :values, accessors: %i[fqdn destination file path], coder: YAML
|
||||
store :values, accessors: %i[fqdn destination file path], coder: JSON
|
||||
|
||||
before_create :fqdn!, :destination!
|
||||
before_create :file!, :path!
|
||||
|
|
Loading…
Reference in a new issue