无法部署在 "mix.exs" 中具有 github 依赖项的网站
Unable to deploy a website which has a github dependency in "mix.exs"
直接来自 github 的依赖项。这不是我的存储库。在 github.
defp deps do
[{:something123, git: "git@github.com:user123/something123.git"}
在本地主机上运行良好。但是,当我部署它时在服务器上抛出异常:
* Updating something123 (git@github.com:user123/something123.git)
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
** (Mix) Command "git --git-dir=.git fetch --force --quiet --progress" failed
什么权利?同样,该存储库不是我的。
我正在部署的这个网站的代码也在 github 上,在某人的存储库中。到目前为止,部署一切顺利,我添加了来自 github.
的依赖项
尝试更改为内置 github
语法:
{:something123, github: "user123/something123"}
直接来自 github 的依赖项。这不是我的存储库。在 github.
defp deps do
[{:something123, git: "git@github.com:user123/something123.git"}
在本地主机上运行良好。但是,当我部署它时在服务器上抛出异常:
* Updating something123 (git@github.com:user123/something123.git)
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
** (Mix) Command "git --git-dir=.git fetch --force --quiet --progress" failed
什么权利?同样,该存储库不是我的。
我正在部署的这个网站的代码也在 github 上,在某人的存储库中。到目前为止,部署一切顺利,我添加了来自 github.
的依赖项尝试更改为内置 github
语法:
{:something123, github: "user123/something123"}