I have a relatively simple rails app that I’d like to build in CircleCI, deploy to Heroku, migrate the database, then restart.
I’ve followed the CirceCI docs here, but I’m still getting the following error when I try and have CirceCI run anything related to “heroku run”.
Error:
Running rake db:migrate on ⬢ my-app... !
▸ Invalid credentials
▸ provided.
▸ API key is currently set
▸ by the HEROKU_API_KEY
▸ environment variable.
▸ Ensure this is set to a
▸ correct value or unset
▸ it to use the netrc
▸ file.
Exited with code 1