Hi there, I’m trying to deploy my application with CircleCI 2.0 and Heroku.
My deploy phase blocks with this message:
#!/bin/bash -eo pipefail git push --force email@example.com:$HEROKU_APP_NAME.git HEAD:refs/heads/master The authenticity of host 'heroku.com (22.214.171.124)' can't be established. RSA key fingerprint is 8b:48:5e:67:0e:c9:16:47:32:f2:87:0c:1f:c8:60:ad. Are you sure you want to continue connecting (yes/no)?
How can I run over this ?
So far I have followed this guide: https://circleci.com/docs/2.0/deployment_integrations/#heroku
- I have slightly changed some things, for example my file setup-heroku.sh file is:
#!/bin/bash wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh cat > ~/.netrc << EOF machine api.heroku.com login $HEROKU_LOGIN password $HEROKU_API_KEY EOF cat >> ~/.ssh/config << EOF VerifyHostKeyDNS yes StrictHostKeyChecking no EOF
I have created environment variables $HEROKU_LOGIN and $HEROKU_API_KEY
I have also set up Heroku api key in CircleCI UI
I have created private and public keys; Uploaded private key in CircleCI under “ssh permissions” and public key in heroku
In my .circleci/config.yml, I have a step called add_ssh_keys where I add the key previously added:
How can I go over and deploy to heroku?