Closed daffl closed 8 years ago
It should also fix an issue I had if the initial environment variable configuration isn't an array, e.g.
env:
global:
secure: <stuff>
@daffl thanks for the patch. I love the feature. :evergreen_tree: :evergreen_tree: :evergreen_tree: @rexxars has done a ton of work around improving the api, so I just want to be sure that it fits in with his vision. @rexxars thoughts?
This looks great! We had this feature for a while but I didn't know if anyone was using it, and it complicated the CLI argument passing - now that I know people are using it, I think it's definitely worthwhile.
Good job.
Thanks folks! Let me know when it got out into a release so that I can merge our documentation changes.
Published as 2.1.0
a minute ago :+1:
Thank you for this tool! It is very helpful when you don't want people with Node having to install the Travis CLI which requires Ruby.
However, when updating our Guide (http://donejs.com/place-my-order.html) to use it instead of Travis CLI I ran into the problem that it only allows to update the environment variables but it is also possible to encrypt other keys, e.g. the Heroku API key for automated deployment.
I added the option to pass a key name to the CLI (e.g.
--add deploy.api_key
). It should be mostly backwards compatible according to the documentation, e.g.But
won't work because it will now try to use
ENV1=VALUE1
as the key.