mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 16:41:42 +00:00
feat: guardar la api key de njalla en las credenciales
This commit is contained in:
parent
ecd8c80e02
commit
3abd87e8e6
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ class DeployDistributedPress < Deploy
|
||||||
def njalla
|
def njalla
|
||||||
@njalla ||=
|
@njalla ||=
|
||||||
begin
|
begin
|
||||||
client = Njalla::V1::Client.new(token: ENV['NJALLA_TOKEN'])
|
client = Njalla::V1::Client.new(token: Rails.application.credentials.njalla)
|
||||||
|
|
||||||
Njalla::V1::Domain.new(domain: Site.domain, client: client)
|
Njalla::V1::Domain.new(domain: Site.domain, client: client)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue