Neil Neil - 1 year ago 104
Ruby Question

Rails App on Heroku: Where is my Encrypted API key For Travis CI?

I need to grab my encrypted API Key.

I notice the section for API Key. Is that what this is referring to? I'm not sure if this is actually the encrypted key or if the encrypted key is actually somewhere else.

There is nothing that states this is the encrypted key. It just says "API Key".

Answer Source

You need to add travis CI api key to your .travis.yml file.

From the travis ci documentation

If you have both the Heroku and Travis CI command line clients installed, you can get your key, encrypt it and add it to your .travis.yml by running the following command from your project directory:

travis encrypt $(heroku auth:token) --add deploy.api_key

You can also use the Travis CI command line setup tool:

travis setup heroku

Hope this helps.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download