Deploying to 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_AUTH_KEY="YOUR OBAN AUTH KEY"
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 SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc \
--auth-key ${OBAN_AUTH_KEY}"