Encrypted key unauthorized for continuous deployment Travis → Heroku

落爺英雄遲暮 提交于 2019-12-01 10:57:55

I solved my problem.

We have the upstream repo at CoinsManager/CoinsManager, which I forked at Fandekasp/CoinsManager. And when running travis encrypt, travis is getting the repo name from my origin remote, instead of querying the heroku git repo.

Therefore, I needed to specify the correct repo as follow:

$ travis encrypt -r CoinsManager/CoinsManager $(heroku auth:token) --add deploy.api_key
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!