mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 12:51:42 +00:00
feat: poder modificar la url de distributed press
This commit is contained in:
parent
6f4e91d318
commit
b7daa8e0eb
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
# No se realiza ninguna acción porque el deploy se hace desde el plugin
|
||||
# local.
|
||||
class DeployDistributedPress < Deploy
|
||||
store :values, accessors: %i[api_key hostname], coder: JSON
|
||||
store :values, accessors: %i[api_url api_key hostname], coder: JSON
|
||||
|
||||
def deploy; end
|
||||
|
||||
|
@ -26,7 +26,8 @@ class DeployDistributedPress < Deploy
|
|||
def local_env
|
||||
{
|
||||
'DISTRIBUTED_PRESS_PROJECT_DOMAIN' => hostname,
|
||||
'DISTRIBUTED_PRESS_API_KEY' => api_key
|
||||
'DISTRIBUTED_PRESS_API_KEY' => api_key,
|
||||
'DISTRIBUTED_PRESS_API_URL' => api_url
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue