Deploying on Gigalixir
If your app runs on Gigalixir you can use a buildpack hook to authenticate with the private oban repo.
First, set your license key on Gigalixir:
gigalixir config:set OBAN_LICENSE_KEY="YOUR OBAN LICENSE KEY"
gigalixir config:set OBAN_KEY_FINGERPRINT="THE PUBLIC KEY FINGERPRINT"
Then add the hook to the end of your elixir_buildpack.config
:
hook_pre_fetch_dependencies="mix hex.repo add oban https://getoban.pro/repo \
--fetch-public-key ${OBAN_KEY_FINGERPRINT} \
--auth-key ${OBAN_LICENSE_KEY}"