unable to deploy from codeship to heroku -
we had consultant configure our ci, since left following error whenever trying deploy:
warning: permanently added 'heroku.com,40.19.75.141' (rsa) list of known hosts. ! account pedro@someemail.com not have access mysascards-staging. ! ! ssh key fingerprint: 41:fc:8a:39:fb:ed:eb:a6:69:a5:1b:ff:35:84:41:2f fatal: not read remote repository. please make sure have correct access rights , repository exists. if add "pedro@someemail.com" heroku, deployment works fine.
how remove dependency on account our codeship configuration?
in order deploy app using codeship, need provide heroku api key heroku account.
you can access heroku api key here - https://dashboard.heroku.com/account.
once have api key, can change deployment configuration following steps:
- navigate project
- click
project settings - click
deploy - copy/paste api key
heroku api key
make sure heroku user's api key has access application mysascards-staging
if project has been transferred (as appears yours has), ssh key assigned project needs recreated.
you can recreate ssh key submitting ticket, , add key both heroku , scm.
let me know if helps!
Comments
Post a Comment