5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 10:31:41 +00:00

feat: poder modificar la url de distributed press

This commit is contained in:
f 2022-11-18 15:56:59 -03:00
parent 6f4e91d318
commit b7daa8e0eb

View file

@ -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