Reputation: 133
I am deploying a Spring app to Heroku via Travis CI. However, despite setting up my travis file different ways, I can't seem to resolve the following issues, the primary one being the missing api key.
Below is several examples of format attempts I have tried in different order, none of which have worked.
api-key: "secure api key"
api_key:
secure: "secure api key"
app: friend-status-dev
env:
global:
- secure: "secure api key"
jdk:
- oraclejdk8
deploy:
provider: heroku
Despite all of this, and event setting env vars via the Travis UI, it does not seem to want to find the "api_key" field in my .travis.yml file. I know for a fact that it can at the least find my .travis file, as it is using the jdk actively.
Upvotes: 3
Views: 940
Reputation: 10338
The deploy
section should look like this:
deploy:
provider: heroku
api_key: "secure api key"
Upvotes: 1