在travis-ci成功构建之后,有什么方法可以部署heroku rails应用程序吗?
我正在使用Travis进行持续集成.但是,我的项目依赖于私有的Nexus存储库.我宁愿不将sbt凭证签入我们的存储库.Travis确实支持加密密钥,但它们只影响环境变量.
如何让Travis对Nexus进行身份验证? sbt似乎不支持环境变量的凭据.
https://github.com/sbt/sbt/blob/0.13/launch/src/main/scala/xsbt/boot/Update.scala#L56
看起来支持从环境变量指定凭证文件,或将凭证指定为系统属性.不幸的是,这似乎没有用0.13.
sbt -Dsbt.boot.realm="Sonatype Nexus Repository Manager" -Dsbt.boot.host="www.there.com" -Dsbt.boot.user="deployment" -Dsbt.boot.password="password" aether-deploy
Run Code Online (Sandbox Code Playgroud)