The docs are still contradicting each other on how to do a Heroku deployment. Can someone please explain what the CircleCI recommended way is?
-
https://circleci.com/docs/2.0/deployment-integrations/#heroku
Looks good, but generates a heroku auth error
WARNING:
remote: ! Do not authenticate with username and password using git.
remote: ! Runheroku login
to update your credentials, then retry the git command. -
Under app settings “Heroku Deployment” it has
deployment:
staging:
branch: master
heroku:
appname: foo-bar-123
This was for 1.0 and should be ignored completely? -
Use a .circleci/setup_heroku.sh with manually configured ssh keys. This is the only working solution that I have been able to implement.
Taken from https://gist.github.com/lauraturk/93742fd34101a0f15b988f3d3b27104d