Skip to content

Commit

Permalink
Setup cloak key in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Jun 19, 2024
1 parent 79f32ad commit b1fdefe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,4 @@ jobs:
POSTGRES_PASSWORD: postgres
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
DEFAULT_CDN_HOST: some.domain.com
POLAR_CLOAK_KEY: ${{secrets.POLAR_CLOAK_KEY}}
2 changes: 1 addition & 1 deletion config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ config :polar, Polar.Assets,
cloak_key =
System.get_env("CLOAK_KEY") || System.get_env("POLAR_CLOAK_KEY") ||
raise """
environment variable CLOAK_KEY or INSTELLAR_CLOAK_KEY is missing.
environment variable CLOAK_KEY or POLAR_CLOAK_KEY is missing.
You can generate one using 32 |> :crypto.strong_rand_bytes() |> Base.encode64()
"""

Expand Down

0 comments on commit b1fdefe

Please sign in to comment.