【发布时间】:2019-06-07 06:23:00
【问题描述】:
我正在使用 heroku 的 buildpack for Elixir,其中一个依赖项因 mix deps.get 而失败,因为它来自私有 Github 存储库。
当我尝试部署时出现此错误:
remote: * Getting my_library (https://github.com/my_organization/my_library.git)
remote: fatal: could not read Username for 'https://github.com': No such device or address
remote: ** (Mix) Command "git --git-dir=.git fetch --force --quiet --progress" failed
remote: ! Push rejected, failed to compile Elixir app.
remote:
remote: ! Push failed
remote: Verifying deploy...
我尝试在 Heroku 的配置变量中添加 GITHUB_API_TOKEN,但仍然遇到同样的错误。
【问题讨论】:
标签: heroku elixir semaphore-ci